@ -1937,6 +1937,16 @@ BI.TreeView = BI.inherit(BI.Pane, {
},
checkAll: function (checked) {
function setNode(children) {
BI.each(children, function (i, child) {
child.halfCheck = false;
setNode(child.children);
});
}
BI.each(this.nodes.getNodes(), function (i, node) {
node.halfCheck = false;
setNode(node.children);
this.nodes && this.nodes.checkAllNodes(checked);
@ -11442,9 +11442,7 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, {
setValue: function (v) {
this.adapter.setValue({
this.adapter.setValue(v);
value: v || {}
stopSearch: function () {
@ -436,6 +436,16 @@ BI.TreeView = BI.inherit(BI.Pane, {
@ -139,9 +139,7 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, {