I was working on a feature to determine what filter was selected but I wasn’t able to find a way to determine if a filter was selected. For a button, there is the action framework to add snippets,publish events, or whatever. Table filters don’t have that option.
For a table component, it would be cool if there was a way to hook into an event like so I can do something like the code snippet below.
If there is a way, I’d love to have a deeper understanding on how I can tell what the filter is selected. Any thoughts?
<br>
- skuid.events.subscribe('table.filterTriggered,function(filter){
- //TODO: get access to the selected filter.
- });
```