The latest version has broken one of our projects due to;
So we deliberately used both events which worked quite well (but is now disallowed);
<TelerikGrid Data="@SheetList"
@ref="_grid"
SelectionMode="@GridSelectionMode.Multiple"
@bind-SelectedItems="@SelectedSheets"
EditMode="GridEditMode.Inline"
OnRowContextMenu="@OnContextMenu"
OnRowClick="@OnRowClick"
OnAdd="OnAddHandler"
OnEdit="@OnEditHandler"
OnUpdate="OnUpdateHandler"
OnCreate="OnCreateHandler"
OnDelete="OnDeleteHandler"
OnRead="@(IsFromHierarchy ? null : OnReadItemsAsync)"
This pattern enabled us to create components that did EITHER server-side pagination, or if it was send a data list as a parameter from a parent component, then it would use that instead (and turn off server pagination).
What would now be the recommended pattern for this scenario? Or do we need to duplicate the whole grid in the component (which isnt ideal).