Feature Request: allow to setup which filter operators are visible in simple Date filter #540

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

Originally created by @OndrejUzovic on GitHub (Sep 12, 2022).

The simple date filter in RazenDataGrid contains a comprehensive list of possible operators a user can use for the filtering.
However there is not always a need to provide such detailed list of operators.
E.g. if the application is simple, intended for non-technical users, I may not want to provide 'Is empty' and 'Is not empty' operators which are confusing with 'Is null' and 'Is not null' operators.

image

Therefore it would be great if there is a possibility to customize which operators are desirable.

A simple solution could be, the operator would not get visible if its 'Text' property would be the empty string.
E.g. if IsEmptyText="" and IsNotEmptyText="" then the operators would not be displayed.

Originally created by @OndrejUzovic on GitHub (Sep 12, 2022). The simple date filter in RazenDataGrid contains a comprehensive list of possible operators a user can use for the filtering. However there is not always a need to provide such detailed list of operators. E.g. if the application is simple, intended for non-technical users, I may not want to provide 'Is empty' and 'Is not empty' operators which are confusing with 'Is null' and 'Is not null' operators. ![image](https://user-images.githubusercontent.com/55758368/189659068-5fcdaf8d-e7ae-4e10-8fba-c4d8da35832f.png) Therefore it would be great if there is a possibility to customize which operators are desirable. A simple solution could be, the operator would not get visible if its 'Text' property would be the empty string. E.g. if `IsEmptyText=""` and `IsNotEmptyText=""` then the operators would not be displayed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#540