|
|
@ -10,7 +10,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { |
|
|
|
baseCls: "bi-multilayer-single-level-tree", |
|
|
|
baseCls: "bi-multilayer-single-level-tree", |
|
|
|
isDefaultInit: false, |
|
|
|
isDefaultInit: false, |
|
|
|
items: [], |
|
|
|
items: [], |
|
|
|
itemsCreator: BI.emptyFn |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
|
|
|
|
chooseType: BI.Selection.Single |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -89,7 +90,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.button_tree", |
|
|
|
type: "bi.button_tree", |
|
|
|
chooseType: BI.Selection.Single, |
|
|
|
chooseType: o.chooseType, |
|
|
|
layouts: [{ |
|
|
|
layouts: [{ |
|
|
|
type: "bi.vertical" |
|
|
|
type: "bi.vertical" |
|
|
|
}] |
|
|
|
}] |
|
|
@ -107,7 +108,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
scrollable: true, |
|
|
|
scrollable: true, |
|
|
|
items: [this.tree] |
|
|
|
items: [this.tree] |
|
|
|
}) |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function (nodes) { |
|
|
|
populate: function (nodes) { |
|
|
|