setRowColor in XML afterInit dhtmlxGrid

Hi,



I try to use:





4





in my XML but without success, the grid is not loaded.



Is it possible and what is the good syntax?



Vincent

AfterInit section executed after grid configuration initialized, but before data part of XML processed.
If you need to set row color you can use
<row id=“4” bgColor="#FF0000" …

ok but I tried bgcolor without success even with your demo. Do you have a suggestion?

It will work if you have not any other styling applied to the cell.
You may try to use the
<row id=“4” style=‘background-color:#FF0000’ …
If necessary , we can provide a working sample.

It works, thanks!