When addRow to PropertyGrid, the backgroud-color not changed

Hi.
when use loadXMLString, the root row’s backgroud-color will changed to “#D4D0C8”,
but when use
mygrid.addRow(“r1”, “r1”);
mygrid.addRow(“r11”, “r11,1”, null, “r1”);
mygrid.addRow(“r12”, “r11,2”, null, “r1”);

the first row “r1” 's backgroud-color will not changed as loadXMLString.

Thanks!.

Unfortunately the issue cannot be reconstructed locally.
Please, provide any kind of sample of your code or a complete demo so the issue can be reconstructed.

hi.
below is the code:
//////////////////////////////////////
mygrid = new dhtmlXPropertyGrid(“PropertyGrid”);
mygrid.setImagePath(’…/…/…/dhtmlxGrid/codebase/imgs/’);
mygrid.enableMultiselect(false);
mygrid.setInitWidthsP(“40,60”);
mygrid.setSkin(“dhx_skyblue”);
mygrid.init();

mygrid.clearAll();
mygrid.addRow(“r1”, “r1”);
mygrid.addRow(“r11”, “r11,1”, null, “r1”);
mygrid.addRow(“r12”, “r11,2”, null, “r1”);
//////////////////////////////////////

Thanks!

Unfortunately the issue still cannot be reconstructed locally.
Please, provide a complete demo where the issue can be reproduced.
Here you can find a tutorial:
docs.dhtmlx.com/doku.php?id=othe … leted_demo