|
|
@ -83,12 +83,21 @@ BI.DownListCombo = BI.inherit(BI.Widget, { |
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (v) { |
|
|
|
this.popupview.setValue(v); |
|
|
|
this.popupview.setValue(v); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|
return this.popupview.getValue(); |
|
|
|
return this.popupview.getValue(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adjustWidth: function () { |
|
|
|
|
|
|
|
this.downlistcombo.adjustWidth(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adjustHeight: function () { |
|
|
|
|
|
|
|
this.downlistcombo.adjustHeight(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.DownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; |
|
|
|
BI.DownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; |
|
|
|
BI.DownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
|
|
|
BI.DownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
|
|
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.down_list_combo", BI.DownListCombo); |
|
|
|
BI.shortcut("bi.down_list_combo", BI.DownListCombo); |
|
|
|