文件名称:easyui级联树
文件大小:569B
文件格式:TXT
更新时间:2017-05-30 10:00:10
easyui级联树
$ "#menuTrees" tree { data: data checkbox : true cascadeCheck : false onCheck : function node checked { if checked { var parentNode $ "#menuTrees" tree "getParent" node target ; if parentNode null { $ "#menuTrees" tree "check" parentNode target ; } } else { var childNode $ "#menuTrees" tree "getChildren" node target ; if childNode length > 0 { for var i 0; i < childNode length; i++ { $ "#menuTrees" tree "uncheck" childNode[i] target ; } } } } } ;">$ "#menuTrees" tree { data: data checkbox : true cascadeCheck : false onCheck : function node checked { if checked { var parentNode $ "#menuTrees" tree "getParent" node target ; if parentNode null { $ "#menuTrees" tree &quo [更多]