Single Search for multiple table
Single Search for multiple table
I currently have a site that has 4 datatables on it. Right now I have to type the filter into the search for each of them. Just wondering if its possible to have a single search field that will apply the filter to all of them at once.
This discussion has been closed.
Replies
[code]
$('div.myTables').DataTable().search( ... );
[/code]
(note the capital `D` to get the API instance). 1.10 with this feature is in git in the 1_10_wip branch if you want to try it.
Otherwise, the this plug-in is what you want for 1.9: http://datatables.net/plug-ins/api#fnFilterAll
Allan