Range filter on multiple tables
Range filter on multiple tables
Hi,
I use the range filter sample (https://datatables.net/examples/plug-ins/range_filtering.html) to filter a column with numbers. When I have one table it works fine. When I add two or more tables it doesn't work because the search is not on the datatable like table.column(colIdx).search(value).draw(); bur on the entire API $.fn.dataTable.ext.search.push(...). So when you do a search in one table it filters all the tables.
Does anyone had this problem before? Is there a way to have range filter on just the active table like a regular search?
Thanks
This question has an accepted answers - jump to answer
Answers
I found this, though it is from 2010.
Also, I don't know if you are using server-side data, but if you are you could always filter the data on a per table basis that way.
I don't use server-side data. I will take a look at the link to see if it can help.
Thanks