RadzenDataGrid: Allow button to clear all filters #572

Closed
opened 2026-01-29 17:39:36 +00:00 by claunia · 1 comment
Owner

Originally created by @Foitn on GitHub (Oct 6, 2022).

Is your feature request related to a problem? Please describe.
Currently there is no possibility to clear all filters on an existing RadzenDataGrid.

Describe the solution you'd like
It would be great to be able to set a boolean value (or enum) to add a button to the DataGrid.
Then the user can use this button to clear all filters in the collumns.

Originally created by @Foitn on GitHub (Oct 6, 2022). **Is your feature request related to a problem? Please describe.** Currently there is no possibility to clear all filters on an existing RadzenDataGrid. **Describe the solution you'd like** It would be great to be able to set a boolean value (or enum) to add a button to the DataGrid. Then the user can use this button to clear all filters in the collumns.
claunia added the enhancement label 2026-01-29 17:39:36 +00:00
Author
Owner

@tpc-dsc commented on GitHub (Sep 6, 2023):

This works for me (assuming RadzenDataGrid @ref=_dataGrid:

<RadzenButton Icon="filter_alt_off" Click=@(() => { _dataGrid.Reset(); StateHasChanged(); }) Style="width:40px;height:40px;" />
@tpc-dsc commented on GitHub (Sep 6, 2023): This works for me (assuming `RadzenDataGrid @ref=_dataGrid`: ```xml <RadzenButton Icon="filter_alt_off" Click=@(() => { _dataGrid.Reset(); StateHasChanged(); }) Style="width:40px;height:40px;" /> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#572