Categories | Question details Back To List | ||
setRowColor in XML afterInit dhtmlxGrid Hi, I try to use: <afterInit> <call command="setRowColor"><param>4</param><param><![CDATA[#FF0000]]></param></call> </afterInit> in my XML but without success, the grid is not loaded. Is it possible and what is the good syntax? Vincent Answer posted by Support on Nov 18, 2008 01:39 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" ... Answer posted by Vincent on Nov 18, 2008 01:59 ok but I tried bgcolor without success even with your demo. Do you have a suggestion? Answer posted by Support on Nov 18, 2008 02:38 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. Answer posted by Vincent on Nov 18, 2008 02:54 It works, thanks! |