khnle
5 Feb 2008, 6:30 AM
I use the following method used to change the color of the text in each row of the grid, but it does not seem to work. The background color, font family and others are OK, but it's the color of the text in the grid that does not seem to have any effect.
myGrid.getView().getRowClass = function(record, index) {
return 'blue';
}
In the css file:
.blue td {
font-family: Verdana, Helvetica, sans-serif;
color: #0000FF;
background-color: #A0A0A0;
}
Does anyone know why or how to get around the problem? Thanks
myGrid.getView().getRowClass = function(record, index) {
return 'blue';
}
In the css file:
.blue td {
font-family: Verdana, Helvetica, sans-serif;
color: #0000FF;
background-color: #A0A0A0;
}
Does anyone know why or how to get around the problem? Thanks