Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MC on Nov 25, 2009 07:46
open dhtmlx forum
Hide Selection on Select in other Tree

hi there

i have two dhtmlxtrees and i want to hide the selection in tree1 when i select a node in tree2, i have the free licence and cant use the function .clearselection
is it possible for me? probably with prototype and removeClass to remove the highlight css class from the tree but i doesnt have an element id(css) to acess the treenode

bye
MC
Answer posted by Alex (support) on Nov 25, 2009 08:02

Hello,

Yes, clearSelection method is available in PRO edition. There are not methods to unselect item in standard version.

The html element of item text can be got by tree._idpull[itemId].span private property.