Extjs4.x Tree树刷新,默认选中展开到最后一次选中的节点
跟Extjs3.0不同Extjs4.2的写法如下:
idPath = selNode.getPath("id"); tree.getStore().load({ node: tree.getRootNode(), callback: function () { tree.expandPath(idPath, 'id'); } });
跟Extjs3.0不同Extjs4.2的写法如下:
idPath = selNode.getPath("id"); tree.getStore().load({ node: tree.getRootNode(), callback: function () { tree.expandPath(idPath, 'id'); } });