dhtlmXtree tree.setItemColor inverse text

tree.setItemColor sets the node text color

Is there a way of setting the inverse node text color?

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.

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.

Please check attached sample
1243936935.zip (37.5 KB)