Grid LoadData documentation #111

Closed
opened 2026-01-29 17:31:45 +00:00 by claunia · 2 comments
Owner

Originally created by @dtitovgis on GitHub (Jun 7, 2021).

https://blazor.radzen.com/datagrid-loaddata

In code tab need use:
// Important!!! Make sure the Count property of RadzenDataGrid is set.
count = employees.Count;
Instead of:
// Important!!! Make sure the Count property of RadzenDataGrid is set.
count = dbContext.Employees.Count();

Originally created by @dtitovgis on GitHub (Jun 7, 2021). https://blazor.radzen.com/datagrid-loaddata In code tab need use: // Important!!! Make sure the Count property of RadzenDataGrid is set. count = employees.Count; Instead of: // Important!!! Make sure the Count property of RadzenDataGrid is set. count = dbContext.Employees.Count();
Author
Owner

@enchev commented on GitHub (Jun 8, 2021):

Hey @dtitovgis,

employees.Count is not total records count while dbContext.Employees.Count() is.

@enchev commented on GitHub (Jun 8, 2021): Hey @dtitovgis, employees.Count is not total records count while dbContext.Employees.Count() is.
Author
Owner

@dtitovgis commented on GitHub (Jun 9, 2021):

employees.Count is total for filtered records. look your demo:
if filter is set pages not take effect.

@dtitovgis commented on GitHub (Jun 9, 2021): employees.Count is total for filtered records. look your demo: if filter is set pages not take effect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#111