ExtJs TreePanel 全选与反选

selectAll: function() {
this.getRootNode().eachChild(function (child) {
child.set('checked', true);
});
},

unSelectAll: function() {
this.getRootNode().eachChild(function (child) {
child.set('checked', false);
});
}

原文地址:https://www.cnblogs.com/daxin/p/3510140.html