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

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 )