|
Lines 36-41
Link Here
|
| 36 |
"dojo/query", |
36 |
"dojo/query", |
| 37 |
"dojo/dom-class", |
37 |
"dojo/dom-class", |
| 38 |
"dojox/grid/EnhancedGrid", |
38 |
"dojox/grid/EnhancedGrid", |
|
|
39 |
"put-selector/put", |
| 39 |
"../tools", |
40 |
"../tools", |
| 40 |
"./_SelectMixin", |
41 |
"./_SelectMixin", |
| 41 |
"./_FormWidgetMixin", |
42 |
"./_FormWidgetMixin", |
|
Lines 43-49
Link Here
|
| 43 |
"./_RegisterOnShowMixin", |
44 |
"./_RegisterOnShowMixin", |
| 44 |
"dojox/grid/enhanced/plugins/IndirectSelection", |
45 |
"dojox/grid/enhanced/plugins/IndirectSelection", |
| 45 |
"dojox/grid/cells" |
46 |
"dojox/grid/cells" |
| 46 |
], function(declare, lang, array, Deferred, query, domClass, EnhancedGrid, tools, _SelectMixin, _FormWidgetMixin, StandbyMixin, _RegisterOnShowMixin) { |
47 |
], function(declare, lang, array, Deferred, query, domClass, EnhancedGrid, put, tools, _SelectMixin, _FormWidgetMixin, StandbyMixin, _RegisterOnShowMixin) { |
| 47 |
return declare("umc.widgets.MultiSelect", [ EnhancedGrid, _FormWidgetMixin, _SelectMixin, StandbyMixin, _RegisterOnShowMixin ], { |
48 |
return declare("umc.widgets.MultiSelect", [ EnhancedGrid, _FormWidgetMixin, _SelectMixin, StandbyMixin, _RegisterOnShowMixin ], { |
| 48 |
// summary: |
49 |
// summary: |
| 49 |
// This class represents a MultiSelect widget. Essentially, it adapts a DataGrid |
50 |
// This class represents a MultiSelect widget. Essentially, it adapts a DataGrid |
|
Lines 96-101
Link Here
|
| 96 |
} |
97 |
} |
| 97 |
}, |
98 |
}, |
| 98 |
|
99 |
|
|
|
100 |
buildRendering: function() { |
| 101 |
this.inherited(arguments); |
| 102 |
put(this.domNode, 'div.umcMultiSelectDisabledOverlay'); |
| 103 |
}, |
| 104 |
|
| 99 |
postCreate: function() { |
105 |
postCreate: function() { |
| 100 |
this.inherited(arguments); |
106 |
this.inherited(arguments); |
| 101 |
|
107 |
|
|
Lines 237-242
Link Here
|
| 237 |
// stop standby animation and re-render |
243 |
// stop standby animation and re-render |
| 238 |
this.standby(false); |
244 |
this.standby(false); |
| 239 |
this.render(); |
245 |
this.render(); |
|
|
246 |
}, |
| 247 |
|
| 248 |
_setDisabledAttr: function(disabled) { |
| 249 |
domClass.toggle(this.domNode, 'umcMultiSelectDisabled', disabled); |
| 250 |
this._set('disabled', disabled); |
| 240 |
} |
251 |
} |
| 241 |
|
252 |
|
| 242 |
/*adaptHeight: function() { |
253 |
/*adaptHeight: function() { |