EmptyTemplate with LoadData and virtualization #871

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

Originally created by @PWyrostek on GitHub (Jun 5, 2023).

In DataGrid, when there's virtualization turned on and we use LoadData, just like in this example: https://blazor.radzen.com/datagrid-virtualization-loaddata, even when there's a count equal to 0, we don't display EmptyTemplate or EmptyText. I think it should be Count > 0.

Related line, the last condition:
cd6a751a68/Radzen.Blazor/RadzenDataGrid.razor (L326)

Originally created by @PWyrostek on GitHub (Jun 5, 2023). In DataGrid, when there's virtualization turned on and we use LoadData, just like in this example: https://blazor.radzen.com/datagrid-virtualization-loaddata, even when there's a count equal to 0, we don't display EmptyTemplate or EmptyText. I think it should be Count > 0. Related line, the last condition: https://github.com/radzenhq/radzen-blazor/blob/cd6a751a682fe137085b970741ae7a2c84acebeb/Radzen.Blazor/RadzenDataGrid.razor#L326
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#871