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.

23 lines
685 B

8 years ago
Demo.West = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-west"
},
render: function () {
8 years ago
var self = this;
return {
type: "bi.vertical",
items: [{
8 years ago
type: "bi.multilayer_single_level_tree",
listeners: [{
eventName: BI.MultiLayerSingleLevelTree.EVENT_CHANGE,
action: function (v) {
self.fireEvent(Demo.West.EVENT_VALUE_CHANGE, v);
}
}],
8 years ago
items: Demo.CONFIG
}]
}
8 years ago
}
});
8 years ago
Demo.West.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE";
8 years ago
$.shortcut("demo.west", Demo.West);