Reset Filtered Data In DataTables
I have a Datatable where the data is retrieved using AJAX. I then have two search functions that filter the data. The search functions work fine once working with unfiltered data.
Solution 1:
As said by davidkonrad
$.fn.dataTable.ext.search.pop()
worked for me. I just added it to the top of each method in order to clear the filter before applying a new one.
Post a Comment for "Reset Filtered Data In DataTables"