|
|
@ -3310,7 +3310,6 @@ BI.shortcut("demo.center", Demo.Center);Demo.TreeValueChooser = BI.inherit(BI.Wi |
|
|
|
var widget = BI.createWidget({ |
|
|
|
var widget = BI.createWidget({ |
|
|
|
type: "bi.tree_value_chooser_combo", |
|
|
|
type: "bi.tree_value_chooser_combo", |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowSearchValue: true, |
|
|
|
|
|
|
|
// items: BI.deepClone(Demo.CONSTANTS.TREEITEMS),
|
|
|
|
// items: BI.deepClone(Demo.CONSTANTS.TREEITEMS),
|
|
|
|
itemsCreator: function (op, callback) { |
|
|
|
itemsCreator: function (op, callback) { |
|
|
|
callback(BI.deepClone(Demo.CONSTANTS.TREEITEMS)); |
|
|
|
callback(BI.deepClone(Demo.CONSTANTS.TREEITEMS)); |
|
|
@ -10405,7 +10404,6 @@ Demo.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.tree = _ref; |
|
|
|
self.tree = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
allowEdit: true, |
|
|
|
|
|
|
|
text: "默认值", |
|
|
|
text: "默认值", |
|
|
|
items: items, |
|
|
|
items: items, |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
@ -10588,7 +10586,6 @@ Demo.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, { |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.tree = _ref; |
|
|
|
self.tree = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
allowEdit: true, |
|
|
|
|
|
|
|
text: "默认值", |
|
|
|
text: "默认值", |
|
|
|
items: items, |
|
|
|
items: items, |
|
|
|
width: 300 |
|
|
|
width: 300 |
|
|
|