* commit 'd2a7ca5614c1e5d7ffbbea7b8973bc8e9e825a3f': tree
@ -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({
value: v || {}
this.adapter.setValue(v);
stopSearch: function () {
@ -436,6 +436,16 @@ BI.TreeView = BI.inherit(BI.Pane, {
@ -139,9 +139,7 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, {