Updating cell class, when a cell is not visible due to the search filter
Updating cell class, when a cell is not visible due to the search filter
edoarsla
Posts: 7Questions: 1Answers: 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!
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!
This discussion has been closed.
Replies
Allan