Knowing when filters are active

Tags: #<Tag:0x00007efc6d170640>

Is there a way to know if a filter is currently active instead of all data being displayed?

Hi @john.harrison

We have a method that let you check if filters are currently enabled: https://handsontable.com/docs/api/filters/#isenabled

1 Like

Does this just check if the filters is set to true? I need to know if one has actually been chosen if that’s possible
image
When the filter is green

Hi @john.harrison

I think you can use afterFilter hook to check it. I made an example showing that:

https://jsfiddle.net/aszymanski/vwor35f6/

1 Like