row css

Hello,i use the function enablealtercss() it’s cool . but in my XML i want to force the css of some rows but the altercss has the priority on the attribute background-color…

The rough priority order of elements
a) bgColor attribute in XML and setRowCollor js command
b) class attribute in css
c) alterCss colors
d) style attribute in xml and setRowTextStyle js command

So you can use style attribute in XML to override alterCss value, or still use class attribute in XML, but with full class naming

In HTML
  …
In XML

    div.gridbox table.obj .my_red{
            background-color:red;
     }
because css rule name include additional details it will override alterCss styles