changing cell color + cell selection color
Hi
I'm working on a grid that has cells with different colors. I'm doing it in the following way:
obj.getCellTemplate(i, j).setStyle("background-color", "#FFA500!important")
But when I select a cell that have the color changed, it doesn't get highlighted. The cells that I don't chnage the color are highlighted normally.
Is there anyway to do it work? I try to put some code inside the fucntion calculateCellState to alter the background-color, but it didn't work ...
By the way, I'm working in an alternate selection mode where it is possible to select multiple cells. If anybody is interested, I can send the parts of the code that I've changed.
Bye!
RGB
I'm working on a grid that has cells with different colors. I'm doing it in the following way:
obj.getCellTemplate(i, j).setStyle("background-color", "#FFA500!important")
But when I select a cell that have the color changed, it doesn't get highlighted. The cells that I don't chnage the color are highlighted normally.
Is there anyway to do it work? I try to put some code inside the fucntion calculateCellState to alter the background-color, but it didn't work ...
By the way, I'm working in an alternate selection mode where it is possible to select multiple cells. If anybody is interested, I can send the parts of the code that I've changed.
Bye!
RGB
Roberto Barra
February 2,