Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35373

Custom Filter Toggle on hidden column

$
0
0

I've got a table with color coded table rows. There is a key at the top of the table that shows what the colors mean and is also clickable to filter the table by the keys. Riffing off the official custom filter example and a post in the forum that was quasi on target with what I wanted to accomplish I tried a few things. I got the filter by tr class name working but that only filtered items in the dom that had a class. everything paginated was skipped. So I decided filtering by class name was a bad idea. I added a column to the table and put the info I wanted to filter by in there but that only worked when it was visible. Hiding the column broke the filter. And that's where I'm at now... How can I get a filter using a hidden column or, should I be taking a completely different route?

I made this.


Viewing all articles
Browse latest Browse all 35373

Trending Articles