fineui是帆软报表和BI产品线所使用的前端框架。

20 lines
570 B

8 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) {
8 years ago
callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
8 years ago
}
});
return {
type: "bi.vertical",
hgap: 200,
vgap: 10,
items: [widget]
};
}
});
8 years ago
BI.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo);