Is it possible to only display rows that have a certain class?
Is it possible to only display rows that have a certain class?
Hi,
On my 'products' data table, I have a column that contains a shopping cart icon, when clicked it toggles a class on the active row, but I'd like to be able to have a custom button (or checkbox) in the pre-table header area that filters the data table to only show rows with that class.
I can see I can select rows with a certain class, but how do I apply that in the data table?
If possible, could someone point me in the right direction please, as I'm unsure where to start?
Thanks, Chris
This question has an accepted answers - jump to answer
Answers
You can do something like this - it's pushing and popping a filter that gets the node, and then checks for a class. Hope that does the trick,
Colin
Thank you Colin