View Full Version : Overriding the highlight color

13 May 2010, 2:17 PM
this.grid.getView().getRowClass = function(record, index) {
if (record.data.Amount == 100)
return "Green";
else if (record.data.Amount == 200)
return "Red";

Hi, I have above and it works but only if a row is not selected, if row is selected then default highlight color overrides my class/color, is there any way that my color will take precedence over default row highlight color. I cannot change the default highlight color because I'll like to continue using the row highlighting for rows that does not have amount=100 or 200.