Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82040

Updating cell class, when a cell is not visible due to the search filter

$
0
0
First, thank you for a great tool.

I am starting to use it more and more, but have ran into a problem. The data in my tables shows information that changes rather frequently. Sometimes I use color to display status (something is ON (green), or OFF (red)). For this I use a class.

If the cell/row is visible, I can change the class easily:
$("#status_XXX").addClass("srv_DOWN");

However, if you made a search that removed this row from visible rows, then I am not able to find this element.
I have not been able to find any similar discussions on this topic, and could certainly use a hand with this one.

Thank you!

Viewing all articles
Browse latest Browse all 82040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>