EXt树展开指定层
?? /**
??? ?* 树节点展开
??? ?*/
??? function deepthexpand(node){?
??? ??? node.expand();?
??? ??? if(node.getDepth() <=2 ){? //可以改为具体指定层数
??? ??? ??? node.eachChild(function(childnode){deepthexpand(childnode)});????
??? ??? }?
??? ??
??? }