Categories | Question details Back To List | ||
Making nodes non-selectable? Is it possible to make certain nodes in the tree non-selectable, whereas all others can still be selected? Answer posted on Nov 26, 2007 01:48 There is no such built in functionality, but similar behavior can be achieved by next code tree.attachEvent("onSelect",function(id){ if ((id)&&(id==NOT_SELECTABLE)) tree.clearSelection(); }); where NOT_SELECTABLE - id of item which must not be selected |