html里的控件事件:onbeforenodeselect = beforenodeselect
 
js里:
beforenodeselect : function(e){
    //禁止选中父节点
        if (e.isLeaf == false) e.cancel = true;
 }
05-11 15:23