Can dhtmlxTree xml have text color and allow selected text t

Selecting a tree node highlights that node but if the XML loaded into the tree contains (for “<item” ) style background-color + color then when node is selected in tree it is no longer hightlighted.



Is there a way to color tree node text (and the text background) and have it highlighted when selected?


Hello,


You can try to redefine selectedTreeRow class that is placed in the dhtmlxtree.css as follows:



.selectedTreeRow{
background-color : navy !important;
color:white !important;


}