DataGrid Enum Column Filter with Filtermode CheckBoxList not working #1574

Closed
opened 2026-01-29 17:55:34 +00:00 by claunia · 0 comments
Owner

Originally created by @jreistDev on GitHub (Jan 22, 2025).

Describe the bug
I have a Radzen DataGrid with multiple columns, using advanced and checkBoxList filtering.
One column of enum type is set to FilterMode="FilterMode.CheckBoxList".
When applying a filter on that column, the filter is not applied, and the filter options reset when the filter dropdown is reopened.
However the advanced filtering works for this column.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the filter dropdown for the enum column with FilterMode="FilterMode.CheckBoxList"
  2. Select one or more filter options.
  3. Click "Apply".
  4. Observe that the filter is not applied to the DataGrid.
  5. Reopen the filter dropdown and observe that no options remain selected.

Alternatively, you can reproduce the issue by testing directly on the Radzen Blazor example website:
https://blazor.radzen.com/datagrid-enum-filter

Add FilterMode="FilterMode.CheckBoxList" to the second column (Gender).
Attempt to filter the DataGrid by selecting options in the filter dropdown.
Notice that no filter is applied, and selected options reset when reopening the dropdown.

Expected behavior
The CheckBoxList filter should function correctly, allowing users to filter enum columns just as seamlessly as other columns. The selected filter options should apply immediately to the DataGrid, and the selected values should remain visible when reopening the filter dropdown.

Screenshots
Image
Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: 5.7.4
Originally created by @jreistDev on GitHub (Jan 22, 2025). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can report your issue or ask us a question via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. Specify all the steps required to reproduce the issue or link a project which reproduces it easily (without requiring extra steps such as restoring a database). --> **Describe the bug** I have a Radzen DataGrid with multiple columns, using advanced and checkBoxList filtering. One column of enum type is set to FilterMode="FilterMode.CheckBoxList". When applying a filter on that column, the filter is not applied, and the filter options reset when the filter dropdown is reopened. However the advanced filtering works for this column. **To Reproduce** Steps to reproduce the behavior: 1. Go to the filter dropdown for the enum column with FilterMode="FilterMode.CheckBoxList" 2. Select one or more filter options. 3. Click "Apply". 4. Observe that the filter is not applied to the DataGrid. 5. Reopen the filter dropdown and observe that no options remain selected. Alternatively, you can reproduce the issue by testing directly on the Radzen Blazor example website: https://blazor.radzen.com/datagrid-enum-filter Add FilterMode="FilterMode.CheckBoxList" to the second column (Gender). Attempt to filter the DataGrid by selecting options in the filter dropdown. Notice that no filter is applied, and selected options reset when reopening the dropdown. **Expected behavior** The CheckBoxList filter should function correctly, allowing users to filter enum columns just as seamlessly as other columns. The selected filter options should apply immediately to the DataGrid, and the selected values should remain visible when reopening the filter dropdown. **Screenshots** ![Image](https://github.com/user-attachments/assets/21ef6c84-20b2-4107-b408-cf835ab4bfe5) ![Image](https://github.com/user-attachments/assets/f229d4b8-205b-4d72-b7fd-e1b237f9e32d) **Desktop (please complete the following information):** - OS: Windows 11 - Browser: Chrome - Version: 5.7.4
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1574