跟Extjs3.0不同Extjs4.2的写法如下:
idPath = selNode.getPath("id"); tree.getStore().load({ node: tree.getRootNode(), callback: function () { tree.expandPath(idPath, 'id'); } });