mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-11 21:29:13 +00:00
DataGrid should not call LoadData twice on first render when virtualized
This commit is contained in:
@@ -2033,7 +2033,7 @@ namespace Radzen.Blazor
|
||||
{
|
||||
if (firstRender && Visible && (LoadData.HasDelegate && Data == null) && IsVirtualizationAllowed())
|
||||
{
|
||||
await InvokeLoadData(skip, PageSize);
|
||||
Data = Enumerable.Empty<TItem>().Append(default(TItem));
|
||||
}
|
||||
else if(settings == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user