Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stephen on Oct 30, 2009 12:13
open dhtmlx forum
Can dhtmlxTree xml have text color and allow selected text to be highlighted?

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?
Answer posted by Alex (support) on Nov 02, 2009 02:50

Hello, 

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

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

}
</style>