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.

24 lines
675 B

8 years ago
Demo.TreeValueChooser = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-tree-value-chooser-combo"
8 years ago
},
render: function () {
var widget = BI.createWidget({
type: "bi.tree_value_chooser_combo",
width: 300,
8 years ago
// items: BI.deepClone(Demo.CONSTANTS.TREEITEMS),
8 years ago
itemsCreator: function (op, callback) {
8 years ago
callback(BI.deepClone(Demo.CONSTANTS.TREEITEMS));
8 years ago
}
});
return {
type: "bi.vertical",
hgap: 200,
vgap: 10,
items: [widget]
};
}
});
BI.shortcut("demo.tree_value_chooser_combo", Demo.TreeValueChooser);