Can i manually clear all filter and set filter ? #10452
-
i'll save current filter in state then i want can you help me some example ? |
Beta Was this translation helpful? Give feedback.
Answered by
adrianszymanski89
Jul 20, 2023
Replies: 1 comment 2 replies
-
Hi @PTOAKKY That's possible with the Filters plugin methods. Here's an example of how to clear all of the applied filters: https://jsfiddle.net/handsoncode/hwk2oyt3/ Re-applying them is a more individual process, and you can do that by using the method |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
PTOAKKY
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @PTOAKKY
That's possible with the Filters plugin methods. Here's an example of how to clear all of the applied filters: https://jsfiddle.net/handsoncode/hwk2oyt3/
Re-applying them is a more individual process, and you can do that by using the method
addCondition
to do this: https://handsontable.com/docs/javascript-data-grid/api/filters/#addcondition