|
|
@ -21,7 +21,8 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, { |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
itemsCreator: BI.emptyFn, |
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
valueFormatter: BI.emptyFn, |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
allowEdit: true |
|
|
|
allowEdit: true, |
|
|
|
|
|
|
|
isNeedAdjustWidth: true |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -121,8 +122,10 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, { |
|
|
|
self.numberCounter.adjustView(); |
|
|
|
self.numberCounter.adjustView(); |
|
|
|
self.trigger.getSearcher().adjustView(); |
|
|
|
self.trigger.getSearcher().adjustView(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
maxWidth: o.isNeedAdjustWidth ? "auto" : 500, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
isNeedAdjustWidth: o.isNeedAdjustWidth, |
|
|
|
value: {value: o.value || {}}, |
|
|
|
value: {value: o.value || {}}, |
|
|
|
hideChecker: function (e) { |
|
|
|
hideChecker: function (e) { |
|
|
|
return triggerBtn.element.find(e.target).length === 0 && |
|
|
|
return triggerBtn.element.find(e.target).length === 0 && |
|
|
|