I’m trying to set the background color of a single cell after it has changed.
I’ve tried both:
cell.setAttribute(‘style’,‘background-color:yellow;’);
and
cell.setBgColor(“yellow”);
The 1st method doesn’t seem to do anything. The setBgColor works - but since the row is selected, it doesn’t show the color until you select a different row. I want this style to override any others such as the selected row style.
Any suggestions? Thanks!