var limitTree = Ext.create('Ext.tree.Panel', {
id:"tree1",
width:250,
store:{
root: {
id:"0",
text : '所有目录',
expanded: true,
children:${list_allAss}
},
proxy: {
type: 'ajax',
url: "${pageContext.request.contextPath}/person/queryOrderMenu"
}
},
region: 'west',
frame: true
});
limitTree.on('checkchange', function(node, checked) {
var p =node.data.checked;
node.expand(true);
}, limitTree);
展开全部子节点,只展开一部分,其余节点加号都没了,怎么弄?