Issue with setting cell background color and highlighting cells on focus
After i set the background color of a cell in the grid using:
obj.getCellTemplate(column, row).setStyle("background-color","#FFCFCF");
The highlight color doesn't ever seem to work again when the user clicks on the cell. In other words, instead of a cell turning blue when the user clicks on it, it remains the background color that I set using the javascript code above.
Can anyone tell me how to both change the background color in javascript and make sure that the highlight color still activates when a user clicks on that cell?
obj.getCellTemplate(column, row).setStyle("background-color","#FFCFCF");
The highlight color doesn't ever seem to work again when the user clicks on the cell. In other words, instead of a cell turning blue when the user clicks on it, it remains the background color that I set using the javascript code above.
Can anyone tell me how to both change the background color in javascript and make sure that the highlight color still activates when a user clicks on that cell?
John
October 24,