Adding muti-table support to the column filtering example
Adding muti-table support to the column filtering example
Jonne
Posts: 2Questions: 1Answers: 0
Hi Guys,
Would someone be able to tell me how I can makes the below sample support multiple tables per page?
I tried but my jQuery skills leave a bit to be desired.
https://datatables.net/examples/api/multi_filter_select.html
Many thanks
This discussion has been closed.
Answers
Try replacing
with
and make sure every table element in your page have
Thanks for your reply. I did try your suggestion but unfortunately the dropdown boxes also contain values from all of the other tables in the page. I think the problem has something to do with the table variable referring to all of the tables rather than just the one being rendered.
This is my code. Do you have any further ideas?
Edit Fixed it: