Would it be possible to filter a row based on its class, not the column contents?

Would it be possible to filter a row based on its class, not the column contents?

lisotalisota Posts: 1Questions: 1Answers: 0

I have an existing table where the rows have classes like the following:

<tr class="b2b"></tr>
<tr class="b2c"></tr>
<tr class="b2b b2c"></tr>

Rows may have more than one class. I'd like to filter the rows using a select box, based on the contents of these row classes, rather than putting that data into hidden columns. Essentially the select box would build its options list based on the content of these classes.

Does anyone have an example of something similar?

Answers

This discussion has been closed.