fineui是帆软报表和BI产品线所使用的前端框架。
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.
|
|
|
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
|
|
|
|
},
|
|
|
|
element: this,
|
|
|
|
el: {
|
|
|
|
el: {
|
|
|
|
chooseType: BI.Selection.Multi
|
|
|
|
}
|
|
|
|
},
|
|
|
|
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), {
|
|
|
|
type: "bi.multi_select_item",
|
|
|
|
height: 30
|
|
|
|
})
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
BI.shortcut("demo.select_list", Demo.Func);
|