Extjs treepanel 取消选择选中的节点


var panel = Ext.ComponentQuery.query('messageSendView treepanel')[0]
    .getSelectionModel().views[0]; 
var selection = Ext.ComponentQuery.query('messageSendView treepanel')[0]
    .getSelectionModel().getSelection()[0];
panel.deselect(selection);



你可能感兴趣的:(ExtJs,节点,TreePanel,取消选择)