`

Extjs4 treepanel 选中当前 节点

 
阅读更多

Extjs3 中 可以这样获取 this.getNodeById(targetId).select();     //this 代表当前treepanel对象

Extjs4 没有了 treeNode。所以只能通过this.getSelectionModel().select(currentNode);  //currentNode表示当前要选中的node

0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics