[PR #506] Add FilterCleared event to DataGrid to fire when filter is cleared #2210

Open
opened 2026-01-29 18:17:45 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/506

State: closed
Merged: Yes


Add FilterCleared event to DataGrid to fire when filter is cleared to allow custom logic to tell the difference between operator/value change and filter clear event. In my case it allows me to keep the operator even though it's reset to default in ClearFilter().

It is potentially a breaking change since it now fires FilterCleared from the grid's implementation of the filter menu, so I don't have much hopes that you will approve this PR but submitting it just in case...

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/506 **State:** closed **Merged:** Yes --- Add FilterCleared event to DataGrid to fire when filter is cleared to allow custom logic to tell the difference between operator/value change and filter clear event. In my case it allows me to keep the operator even though it's reset to default in ClearFilter(). It is potentially a breaking change since it now fires FilterCleared from the grid's implementation of the filter menu, so I don't have much hopes that you will approve this PR but submitting it just in case...
claunia added the pull-request label 2026-01-29 18:17:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2210