Hi,
Is there a way to get the filters that are applied on the handsontable. So that they can be saved and reapplied at a later stage
Thanks,
Parul Gautam
Hi,
Is there a way to get the filters that are applied on the handsontable. So that they can be saved and reapplied at a later stage
Thanks,
Parul Gautam
Hey @aya.sugimura
yes, you can use the afterFilter
hook.
Docs: https://handsontable.com/docs/7.0.2/Hooks.html#event:afterFilter
Example: https://jsfiddle.net/handsoncode/drsn5jgx/
And to apply them you can access the filters
plugin. The syntax is not completely the same as you are served with an object but you pass an array but this example https://jsfiddle.net/handsoncode/rLm8e1gb/ and this tutorial https://handsontable.com/docs/7.0.2/Filters.html should explain it better.