iterating over table rows: how to distinguish between filtered and non-filtered rows?

iterating over table rows: how to distinguish between filtered and non-filtered rows?

cinemacinema Posts: 5Questions: 3Answers: 0

I've seen an example with the following code

.column(2, { search: 'applied' })

or

.columns( [2,5], { search: 'applied' })

In this way one gets only the rows with the filter applied.
Now I need to itereate over all the rows, so I could remove the { search: 'applied' } but I still need to distinguish between filtered and non-filtered rows!
How can I achieve this? Can you point me to a code snippet?
Thanks a lot.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923
    edited October 2020 Answer ✓

    The selector-modifier docs show that you can use none, applied or removed with search. Maybe you can use { search: 'applied' } then { search: 'removed' }?

    Kevin

This discussion has been closed.