I want to show tree node selected and highlighted based on certain conditions.
How to do that?
I am using,
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 )