Search events

Search events

bek816bek816 Posts: 5Questions: 2Answers: 1

My page has a (Bootstrap) modal to search the datatable (by name, by range, etc). I want to know when the table is filtered and when it's not (so I can display an information message on the page). I know I could write some code to hook into the on change events (and inspect the changed value) and my $.fn.dataTable.ext.search.push function, however I'm wondering if there's a better way? Is there any way to look at the DataTable settings to see if anything search criteria has been applied?

Thanks.

This discussion has been closed.