|
|
|
@ -1520,7 +1520,6 @@ BI.TreeView = BI.inherit(BI.Pane, {
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.TreeView.superclass._init.apply(this, arguments); |
|
|
|
|
this._stop = false; |
|
|
|
|
this.container = BI.createWidget(); |
|
|
|
|
|
|
|
|
|
this._createTree(); |
|
|
|
|
this.tip = BI.createWidget({ |
|
|
|
@ -1533,7 +1532,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
|
|
|
|
|
scrollable: true, |
|
|
|
|
scrolly: false, |
|
|
|
|
element: this, |
|
|
|
|
items: [this.container, this.tip] |
|
|
|
|
items: [this.tip] |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
@ -1552,7 +1551,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
|
|
|
|
|
}); |
|
|
|
|
BI.createWidget({ |
|
|
|
|
type: "bi.default", |
|
|
|
|
element: this.container, |
|
|
|
|
element: this.element, |
|
|
|
|
items: [this.tree] |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -1947,6 +1946,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
|
|
|
|
|
setNode(child.children); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
BI.each(this.nodes.getNodes(), function (i, node) { |
|
|
|
|
node.halfCheck = false; |
|
|
|
|
setNode(node.children); |
|
|
|
|