Ext Treepanel 得到选中的节点
var tree = Ext.getCmp('getSharedFromOthersTree');var sm = tree.getSelectionModel();var node = sm.getSelectedNode() ;alert(node.attributes.text);sm.clearSelections() ;//清空选择区,并返回选择区中的节点//参考 Ext.tree.DefaultSelectionModel
?
?