Skip to content

Commit

Permalink
DataGrid will close column filter after open in case of hidden column…
Browse files Browse the repository at this point in the history
… with FilterPopupRenderMode="PopupRenderMode.OnDemand"
  • Loading branch information
enchev committed Nov 1, 2024
1 parent 7de5d90 commit e811bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/RadzenDataGridHeaderCell.razor
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ else
await popup.ToggleAsync(filterButton);

Grid.allColumns
.Where(c => c != Column && c.headerCell != null)
.Where(c => c.GetVisible() && c != Column && c.headerCell != null && c.headerCell != this)
.Select(c => c.headerCell).ToList()
.ForEach(cell => InvokeAsync(cell.CloseFilter));
}
Expand Down

0 comments on commit e811bb9

Please sign in to comment.