Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stephen on May 31, 2009 10:33
open dhtmlx forum
dhtlmXtree tree.setItemColor inverse text

tree.setItemColor sets the node text color
Is there a way of setting the inverse node text color?
Answer posted by Support on Jun 01, 2009 05:30
setItemColor command allows to defined color of text in both normal and selected state, but parameter of command must be a valid color value, you can't made it "inverse" automatically. 
Answer posted by Stephen on Jun 02, 2009 00:28
Are you saying you that there is no "inverse" call as such but that you can have inverse text (ie coloured background) by supplying the correct color code to setItemColor? If so can you give an example please.
Answer posted by Support on Jun 02, 2009 02:53
Please check attached sample
Attachments (1)