Skip to content

Commit

Permalink
Fixed DataGrid will not show EmptyTemplate when AllowVirtualization=true
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Nov 6, 2024
1 parent 8e7bd63 commit fb0d588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/RadzenDataGrid.razor
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
<tbody>
@if (Data != null)
{
@if (!ShowEmptyMessage || Count > 0 && (IsVirtualizationAllowed() ? Count > 0 : true) || LoadData.HasDelegate && Data.Count() > 0)
@if (!ShowEmptyMessage || Count > 0 && (IsVirtualizationAllowed() ? Count > 0 && Data.Count() > 0 : true) || LoadData.HasDelegate && Data.Count() > 0)
{
if (columns.Count > 0)
{
Expand Down

0 comments on commit fb0d588

Please sign in to comment.