This page demonstrates how to use enums in the DataGrid column filter.
In this demo the grid shows Gender (non-nullable), Status (nullable), and Favorite Color (using Display attributes for friendly names) columns, demonstrating how enum filters automatically appear in dropdown format.
IDfilter_alt | Genderfilter_alt | Nullable Statusfilter_alt | Favorite Color (Display Attribute in Filter)filter_alt |
|---|---|---|---|
| 0 | Mr | Active | Red |
| 1 | Mr | Active | Red |
| 2 | Mr | Active | Almond Green |
| 3 | Ms | Inactive | Almond Green |
| 4 | Ms | Inactive | Apple Blue... |
| 5 | Ms | Inactive | Apple Blue... |
| 6 | Unknown | Azure | |
| 7 | Unknown | Azure | |
| 8 | Unknown | Azure | |
| 9 | Unknown | Azure |
With Radzen Blazor subscription you get the full toolkit, including:
Dedicated support backed by proven expertise
Premium themes and theme editor
Ready-to-use UI blocks
Complete app templates
Visual design-time-experience

Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under
MIT
Premium Themes
Free Themes