Hi! I need to trigger a query once my setFilterStack function is done, any ideas?
The trigger works with table.getDisplayedData(), hence the reason why I need to trigger it after the filter is done.
I'm calling the setFilterStack via JS code.
My first guess would be to add a debounce to the JS query block where you are running the filter.
The other common option for ensuring chronological order of events is using the on success Event Handler so that query1 will only be called once the code in the first query where the sorting is taking place finishes.