How to set the root node unable to select


I am using dhtmlXTree,I want to set the root node unable to select but not to other children node



thank you very much

can be done as

tree.attachEvent(“onSelect”,function(z){
if (z == ROOT_ID ) tree.clearSelection();
});