|
|
@ -55,6 +55,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
itemsCreator: BI.bind(this._itemsCreator4Trigger, this), |
|
|
|
itemsCreator: BI.bind(this._itemsCreator4Trigger, this), |
|
|
|
|
|
|
|
itemFormatter: o.itemFormatter, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
value: this.storeValue, |
|
|
|
value: this.storeValue, |
|
|
|
}); |
|
|
|
}); |
|
|
@ -138,7 +139,8 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
self.trigger.setAdapter(this); |
|
|
|
self.trigger.setAdapter(this); |
|
|
|
self.numberCounter.setAdapter(this); |
|
|
|
self.numberCounter.setAdapter(this); |
|
|
|
}, |
|
|
|
}, |
|
|
|
listeners: [{ |
|
|
|
listeners: [ |
|
|
|
|
|
|
|
{ |
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
eventName: BI.MultiSelectPopupView.EVENT_CHANGE, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
self._dataChange = true; |
|
|
|
self._dataChange = true; |
|
|
@ -160,9 +162,11 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
self.setValue(); |
|
|
|
self.setValue(); |
|
|
|
self._defaultState(); |
|
|
|
self._defaultState(); |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
itemsCreator: o.itemsCreator, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
valueFormatter: o.valueFormatter, |
|
|
|
|
|
|
|
itemFormatter: o.itemFormatter, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
itemHeight: o.itemHeight, |
|
|
|
onLoaded: function () { |
|
|
|
onLoaded: function () { |
|
|
|
BI.nextTick(function () { |
|
|
|
BI.nextTick(function () { |
|
|
@ -260,7 +264,8 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.absolute", |
|
|
|
type: "bi.absolute", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
items: [{ |
|
|
|
items: [ |
|
|
|
|
|
|
|
{ |
|
|
|
el: this.combo, |
|
|
|
el: this.combo, |
|
|
|
left: 0, |
|
|
|
left: 0, |
|
|
|
right: 0, |
|
|
|
right: 0, |
|
|
@ -279,7 +284,8 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { |
|
|
|
right: o.height, |
|
|
|
right: o.height, |
|
|
|
top: 0, |
|
|
|
top: 0, |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
}] |
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|