Categories | Question details Back To List | ||
add classname or style css to a tree 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 Answer posted by Alex on Apr 15, 2009 02:39 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. Answer posted by Rachel Santamaría on Apr 15, 2009 02:41 OK, Thanks. |