@syncfusion/ej2-multicolumn-combobox 27.2.3 → 27.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-multicolumn-combobox.umd.min.js +2 -2
- package/dist/ej2-multicolumn-combobox.umd.min.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es2015.js +21 -4
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +21 -4
- package/dist/es6/ej2-multicolumn-combobox.es5.js.map +1 -1
- package/dist/global/ej2-multicolumn-combobox.min.js +2 -2
- package/dist/global/ej2-multicolumn-combobox.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/multicolumn-combobox/multi-column-combo-box-model.d.ts +30 -2
- package/src/multicolumn-combobox/multi-column-combo-box.d.ts +36 -0
- package/src/multicolumn-combobox/multi-column-combo-box.js +20 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChildProperty, Property, Component, getUniqueID, isNullOrUndefined, addClass, removeClass, formatUnit, attributes, prepend, Browser, append, L10n, select, compile, EventHandler, KeyboardEvents, closest, Animation, detach, Complex, Collection,
|
|
1
|
+
import { ChildProperty, Property, Event, Component, getUniqueID, isNullOrUndefined, addClass, removeClass, formatUnit, attributes, prepend, Browser, append, L10n, select, compile, EventHandler, KeyboardEvents, closest, Animation, detach, Complex, Collection, NotifyPropertyChanges } from '@syncfusion/ej2-base';
|
|
2
2
|
import { Input } from '@syncfusion/ej2-inputs';
|
|
3
3
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|
|
4
4
|
import { Popup } from '@syncfusion/ej2-popups';
|
|
5
|
-
import { Grid, VirtualScroll, Group, Edit, Sort } from '@syncfusion/ej2-grids';
|
|
5
|
+
import { Grid, VirtualScroll, Group, Edit, Sort, Resize } from '@syncfusion/ej2-grids';
|
|
6
6
|
export { Edit, Group, Sort, VirtualScroll } from '@syncfusion/ej2-grids';
|
|
7
7
|
|
|
8
8
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -27,7 +27,7 @@ class MultiColumnGrid {
|
|
|
27
27
|
* @private
|
|
28
28
|
*/
|
|
29
29
|
InjectModules() {
|
|
30
|
-
Grid.Inject(VirtualScroll, Group, Edit, Sort);
|
|
30
|
+
Grid.Inject(VirtualScroll, Group, Edit, Sort, Resize);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
@@ -164,6 +164,18 @@ __decorate([
|
|
|
164
164
|
__decorate([
|
|
165
165
|
Property(WrapMode.Both)
|
|
166
166
|
], GridSettings.prototype, "textWrapMode", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
Property(false)
|
|
169
|
+
], GridSettings.prototype, "allowResizing", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
Event()
|
|
172
|
+
], GridSettings.prototype, "resizing", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
Event()
|
|
175
|
+
], GridSettings.prototype, "resizeStart", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
Event()
|
|
178
|
+
], GridSettings.prototype, "resizeStop", void 0);
|
|
167
179
|
/**
|
|
168
180
|
* The `MultiColumnComboBox` allows the user to search and select values from a list. It provides a list of options that can be selected using a filter input.
|
|
169
181
|
* The selected value will be displayed in the input element.
|
|
@@ -270,6 +282,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
270
282
|
allowTextWrap: this.gridSettings.allowTextWrap,
|
|
271
283
|
textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
|
|
272
284
|
height: this.popupHeight,
|
|
285
|
+
allowResizing: this.gridSettings.allowResizing,
|
|
273
286
|
allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
|
|
274
287
|
rowTemplate: this.itemTemplate,
|
|
275
288
|
dataBound: () => { this.onDataBound(); },
|
|
@@ -291,7 +304,10 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
291
304
|
args.cancel = true;
|
|
292
305
|
this.gridKeyActionHandler(args, true);
|
|
293
306
|
}
|
|
294
|
-
}
|
|
307
|
+
},
|
|
308
|
+
resizing: (args) => { this.gridSettings.resizing(args); },
|
|
309
|
+
resizeStart: (args) => { this.gridSettings.resizeStart(args); },
|
|
310
|
+
resizeStop: (args) => { this.gridSettings.resizeStop(args); }
|
|
295
311
|
});
|
|
296
312
|
this.gridEle = this.createElement('div', { id: getUniqueID('grid'), className: MULTICOLUMNGRID });
|
|
297
313
|
this.updateGroupByField();
|
|
@@ -1616,6 +1632,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
1616
1632
|
this.gridObj.gridLines = newProp.gridSettings.gridLines;
|
|
1617
1633
|
this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
|
|
1618
1634
|
this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
|
|
1635
|
+
this.gridObj.allowResizing = newProp.gridSettings.allowResizing;
|
|
1619
1636
|
if (!(isNullOrUndefined(newProp.gridSettings.allowTextWrap))) {
|
|
1620
1637
|
this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
|
|
1621
1638
|
}
|