DataGridColumn filtering - Add <empty> for nullable enum values #551

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

Originally created by @Foitn on GitHub (Sep 27, 2022).

Is your feature request related to a problem? Please describe.
When adding a RadzenDataGridColumn for an enum value, the header automatically includes a dropdown for all options.
Wonderful!
Now when I have a nullable enum property, I would like to have an option to filter for that value too.
There currently is nothing in place to filter these values:
image
image

Describe the solution you'd like
Whenever a property is a nullable enum, add an option to the dropdown menu for filtering.
E.g. or something.
Something along these lines:
image

Describe alternatives you've considered
I have considered creating a template for this myself, but I think more people can benefit from this feature.

Originally created by @Foitn on GitHub (Sep 27, 2022). **Is your feature request related to a problem? Please describe.** When adding a RadzenDataGridColumn for an enum value, the header automatically includes a dropdown for all options. Wonderful! Now when I have a nullable enum property, I would like to have an option to filter for that value too. There currently is nothing in place to filter these values: ![image](https://user-images.githubusercontent.com/14889176/192489061-5753808e-b3e3-4099-a347-d928f16b41bc.png) ![image](https://user-images.githubusercontent.com/14889176/192489218-b2959b77-4a9c-4167-818e-e770e998513b.png) **Describe the solution you'd like** Whenever a property is a nullable enum, add an option to the dropdown menu for filtering. E.g. <empty> or something. Something along these lines: ![image](https://user-images.githubusercontent.com/14889176/192489488-f643bc7e-eeb3-4f94-badc-1ba2b9743c6d.png) **Describe alternatives you've considered** I have considered creating a template for this myself, but I think more people can benefit from this feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#551