From a883b26dda3977a1a55ba86c7f07315c43a32189 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Sat, 30 Nov 2024 15:30:48 +0200 Subject: [PATCH] DataGrid CheckBoxList filter for numerics and enums fixed. Fix #1823 --- Radzen.Blazor/RadzenDataGridHeaderCell.razor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Radzen.Blazor/RadzenDataGridHeaderCell.razor b/Radzen.Blazor/RadzenDataGridHeaderCell.razor index 08d704aa9cf..b6c189f975c 100644 --- a/Radzen.Blazor/RadzenDataGridHeaderCell.razor +++ b/Radzen.Blazor/RadzenDataGridHeaderCell.razor @@ -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) {