LoadData, sort and filter?

I've looked at the LoadData example but I don't get what I need to do to be able to filter or sort on all items if I only load for example 5 at the time.

The filtering works if I click on another page or step to next/previous page. I get almost the same behaviour when I use the IQueryable way except that the paging also disappears.
What am I missing?

<RadzenGrid @ref="radzenGrid"
Count="@RowCount"
Data="@SystemCollectionComponents"
LoadData="@LoadData"
PageSize="@SelectedPageSize"
AllowPaging="true"
AllowFiltering="true"
AllowSorting="true"
TItem="SystemCollectionComponentAdaptor"
FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive">

Sort and filter are available in LoadDataArgs as strings. You can use Dynamic LINQ to apply them.

3 Likes

If don't mind, can you provide an example of this please, I am not too familiar with that library.

EDIT: Nevermind. Found some great resources online. It was easier than I expected to pick it up :slight_smile: