Hi everyone, the question is simple... what am i doing wrong? For some reason the paging of the grid is not working or showing.
This is my code:
async Task LoadData(LoadDataArgs args)
{
var queryx = await (TableDataServicex.GetAllTables());
IQueryable query = queryx.AsQueryable();
if (!string.IsNullOrEmpty(args.Filter))
{
query = query.Where(args.Filter);
}
if (!string.IsNullOrEmpty(args.OrderBy))
{
query = query.OrderBy(args.OrderBy);
}
query = query.Skip(args.Skip.Value).Take(args.Top.Value);
xTable = query;
countx = xTable.Count();
await InvokeAsync(StateHasChanged);
}
</Columns>