Is it possible to apply different css classes for the tree nodes depending on the value of their “userdata” attribute?
Hello,
there is setItemStyle method. It allows to define style of an item- the third paramete is css string (not class name):
tree.setItemStyle(id,tree.getUserData(id,“css”));
But if use initialize the tree from xml, you can use the itemtext tag (PRO edition):
text