Removing specific search result/ removing 1/2 or 2/2 search results
Removing specific search result/ removing 1/2 or 2/2 search results
Hey,
So I am using 2 custom external "filters" on my datatable, both of which use the following code to apply:
[code]
$.fn.dataTable.ext.search.push(
....
);;
[/code]
And to remove these filters i use:
[code]
$.fn.dataTableExt.afnFiltering.length = 0;
$('#datatable').dataTable().fnDraw();
[/code]
What i would like to do is remove these searches individually instead of simultaneously!
In other words i want to beable to remove one or both of the two filters, but the above code always removes both.
Q: How do i apply multiple searches that i can indvidually remove?
Any help would be appriciated, thanks!
Regards Patrick