Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Nov 06, 2008 04:00
open dhtmlx forum
Tree node highlited

Hi Team,

I want to show tree node selected and highlighted based on certain conditions.
How to do that?

I am using,
tree.enableHighlighting(true);
tree.setOnClickHandler(updateGrid);

Thanks


-Agile
Answer posted by Support on Nov 06, 2008 04:20
highlighting in tree, works automatically and only for the elements under mouse cursor, it can be forced for some item in tree programmatically. 
( but you can use setItemStyle to set any custom styles for the necessary item )