Grid initilization from XML - setting row class

Hello,



I’m trying to set the row class when loading the grid from XML.



If I have a css in the page, such as

#row_subtotal {background: azure;}



I want to reference the style class name in the row, such as

but that does not seem to work.



I can set

and that works, however I want to use the style class reference rather than coding the style directly into the xml.



Thanks for any help.

Regards,

Eric

The row has some default styling rules , which may override your custom css class.
You can
a) change the class as
.row_subtotal {background: azure !important;}

or

b) change the name of the css rule as
div.gridbox table.obj tr.row_subtotal td{
background: azure;
}