Categories | Question details Back To List | ||||||||
row color in XML doesn't change when row is selected in grid When generating my grid XML, I'm setting the background row color for rows that meet a specific condition. I'm using FF2 and dhtmlxSuite_pro_2008Rel2_80512. It doesn't work at all to set the row color using bgColor... eg. <row id="myID" bgColor="red"> It does work if I use style... eg <row id="myID" style="background-color:#f00'"> BUT, then the row color won't change to the grid row selected color when the row is selected. The row color always remains the color I assigned in XML, for both hovering and when selected in grid view. I had this working fine when using script to assign the row color after grid load, but it would be much more efficient to assign row color in xml during grid load. Is there a solution for this problem? Answer posted by Support on Jul 28, 2008 02:25 The issue caused by color priority. The color set by "style" attribute has higher priority, so it will be shown for all states of row. By default the bgColor prorepty can be used to set background color of row Please check attached sample. If it still not work in your case - please provide any kind of sample where issue can be reconstructed ( you can send it directly to support@dhtlmlx.com ) Attachments (1)
|