For anyone who comes back to this, in .NET 6 it's even easier to do this if you need it to be a little more generic and pass in the type of Adaptor with optional parameter(s):
@typeparam TRecordType
<SfGrid>
...
<SfDataManager Adaptor="Syncfusion.Blazor.Adaptors.CustomAdaptor">
<DynamicComponent Type="@AdaptorType" Parameters="AdaptorParameters"/>
</SfDataManager>
....
</SfGrid>
@code {
[Parameter, EditorRequired]
public Type AdaptorType { get; set; }
[Parameter]
public Guid? ParentGUID { get; set; }
private Dictionary<string, object> AdaptorParameters { get; set; }
protected override void OnInitialized()
{
if (ParentGUID.HasValue)
{
AdaptorParameters = new Dictionary<string, object>
{
["ParentGUID"] = ParentGUID
};
}
}
}