You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
570 B
20 lines
570 B
7 years ago
|
Demo.ValueChooserCombo = BI.inherit(BI.Widget, {
|
||
|
props: {
|
||
|
baseCls: "demo-value-chooser-combo"
|
||
|
},
|
||
|
render: function () {
|
||
|
var widget = BI.createWidget({
|
||
|
type: "bi.value_chooser_combo",
|
||
|
itemsCreator: function (op, callback) {
|
||
|
callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
|
||
|
}
|
||
|
});
|
||
|
return {
|
||
|
type: "bi.vertical",
|
||
|
hgap: 200,
|
||
|
vgap: 10,
|
||
|
items: [widget]
|
||
|
};
|
||
|
}
|
||
|
});
|
||
|
BI.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo);
|