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.
|
|
|
# quarter_combo
|
|
|
|
|
|
|
|
## 季度选择下拉框
|
|
|
|
|
|
|
|
{% method %}
|
|
|
|
[source](https://jsfiddle.net/fineui/rw7ubwtj/)
|
|
|
|
|
|
|
|
{% common %}
|
|
|
|
```javascript
|
|
|
|
BI.createWidget({
|
|
|
|
type: 'bi.quarter_combo',
|
|
|
|
element: '#wrapper',
|
|
|
|
width: 300
|
|
|
|
});
|
|
|
|
```
|
|
|
|
|
|
|
|
{% endmethod %}
|
|
|
|
|
|
|
|
##参数
|
|
|
|
|
|
|
|
| 参数 | 说明 | 类型 | 可选值 | 默认值
|
|
|
|
| :------ |:------------- | :-----| :----|:----|
|
|
|
|
| behaviors | 自定义下拉列表中item项的行为,如高亮,标红等(详见[button_group](../core/abstract/button_group.md)) | object | | {} |
|
|
|
|
|
|
|
|
--- ---
|
|
|
|
|
|
|
|
##事件
|
|
|
|
| 事件 | 说明 |
|
|
|
|
|BI.YearMonthCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
|
|
|
|
|BI.YearMonthCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
|