Skip to content

Commit

Permalink
DataGrid CheckBoxList filter for numerics and enums fixed.
Browse files Browse the repository at this point in the history
Fix #1823
  • Loading branch information
enchev committed Nov 30, 2024
1 parent b9937ee commit a883b26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Radzen.Blazor/RadzenDataGridHeaderCell.razor
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,9 @@ else

async Task ApplyFilter()
{
if (PropertyAccess.IsNumeric(Column.FilterPropertyType) && !(PropertyAccess.IsEnum(Column.FilterPropertyType) || PropertyAccess.IsNullableEnum(Column.FilterPropertyType)))
if (Grid.FilterMode == FilterMode.Advanced &&
PropertyAccess.IsNumeric(Column.FilterPropertyType) &&
!(PropertyAccess.IsEnum(Column.FilterPropertyType) || PropertyAccess.IsNullableEnum(Column.FilterPropertyType)))
{
if (Column.FilterValueTemplate == null)
{
Expand Down

0 comments on commit a883b26

Please sign in to comment.