Add button that removes all filters
dwassner opened this issue · 3 comments
I have found that my end users struggle with removing filters from specific columns or all columns (having to manually delete the values in each field of each filter).
It would be really nice to have a button that removes all filtering from all columns.
Taking it a step further, if it were possible to have a button (possibly within the top section of the grid where the floating filters are) that would allow clearing filters for just tha column, that would be great as well.
Thank you.
Hello @dwassner,
You can do this via a dash callback. You are in control of the filterModel prop which you can use to clear the filters of the whole thing or just a column.
Also, see the docs for how to add a apply, clear, reset and cancel buttons to the filters 🙂
Closing this as this isnt in scope of creating a wrapper for AG Grid