Hello again,
I have a datatable with a checkbox column, currently i can check the row ID, and the state of the chekbox when it is checked or unchecked using the onCheck event listener.
Is there a way to use the row ID to add CSS styles to that row?
ie rowID.css({“background:red; color:blue; … …”})? Or something like that?
I basically want to use an if statement to determine the state of the checkbox and add styles appropriately. Or something like that if it can be done.
here is a codepen to see where I am gosh i feel close.