Hello!
I would like to know if I can add a “className” to a tree in javascript, no xml?
Or how can I add CSS to a tree?
Thanks
Hello
If you want to change the style of the whole tree, you can redefine following classes from the dhtmlxtree.css:
.standartTreeRow {…}
.selectedTreeRow{…}
The style of a certain item can be changed using setItemStyle(id,css_string) method.
OK, Thanks.