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