请考虑一下情况:
tree.Panel在页面上进行某种导航.internalId节点的树.我打算使用expandPath(path)树中的方法.我的问题是:我怎样才能得到path字符串internalId?谢谢.
不幸的是功能NodeInterface.getPath被消失从extjs4.所以没有办法使用expandPath(path).但是,相反,你可以使用
tree.store.getNodeById('ext-record-23').bubble(function(node){node.expand()});
Run Code Online (Sandbox Code Playgroud)