How to use checkbox to filter a DataTable by classname
How to use checkbox to filter a DataTable by classname
Emyleen
Posts: 21Questions: 8Answers: 0
Hello everybody,
In my table I have rows which have a classname 'supervisor'. I want to hide the other rows when I check a checkbox. I think that I have to use filters but I don't see how to do that.
Can you help me please?
This discussion has been closed.
Answers
I found this code but in my case it doesn't work.
This is my fiddle : http://live.datatables.net/wacuhik/1/edit?html,css,js,output
I found the solution : http://live.datatables.net/wacuhik/3/edit?html,css,js,output