Detect if row is visible due to search or filter
Detect if row is visible due to search or filter
arnorbld
Posts: 123Questions: 23Answers: 1
Hi guys,
I'm looping through rows with
myTable.rows().every( function ( rowIdx, tableLoop, rowLoop ) {
Is there a way for me inside that loop to determine if the specific row is visible due to using the search entry or filters? I'm sure there is an easy way to do it, but I'm not finding it...
Many thanks in advance
Best regards,
Answers
You can use the
selector-modifier
to iterate only the rows that match the filter or are removed. See the examples for more details.Kevin
Hi Kevin,
Thank you so much for the response! I had found an example online somewhere which led me to the selector-modifier information
Best regards,