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

26 lines
674 B

7 years ago
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
BI.createWidget({
type: "bi.select_list",
toolbar: {
type: "bi.multi_select_bar",
iconWrapperWidth: 26
},
7 years ago
element: this,
el: {
el: {
chooseType: BI.Selection.Multi
}
},
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), {
6 years ago
type: "bi.multi_select_item"
7 years ago
})
7 years ago
});
7 years ago
}
});
BI.shortcut("demo.select_list", Demo.Func);