@syncfusion/ej2-multicolumn-combobox 27.2.3 → 27.2.5
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 +32 -3
- package/dist/es6/ej2-multicolumn-combobox.es2015.js.map +1 -1
- package/dist/es6/ej2-multicolumn-combobox.es5.js +32 -3
- 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 +7 -7
- package/src/multicolumn-combobox/index.d.ts +1 -1
- package/src/multicolumn-combobox/index.js +1 -1
- 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 +31 -2
|
@@ -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,6 +304,21 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
291
304
|
args.cancel = true;
|
|
292
305
|
this.gridKeyActionHandler(args, true);
|
|
293
306
|
}
|
|
307
|
+
},
|
|
308
|
+
resizing: (args) => {
|
|
309
|
+
if (this.gridSettings.resizing) {
|
|
310
|
+
this.gridSettings.resizing.call(this, args);
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
resizeStart: (args) => {
|
|
314
|
+
if (this.gridSettings.resizeStart) {
|
|
315
|
+
this.gridSettings.resizeStart.call(this, args);
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
resizeStop: (args) => {
|
|
319
|
+
if (this.gridSettings.resizeStop) {
|
|
320
|
+
this.gridSettings.resizeStop.call(this, args);
|
|
321
|
+
}
|
|
294
322
|
}
|
|
295
323
|
});
|
|
296
324
|
this.gridEle = this.createElement('div', { id: getUniqueID('grid'), className: MULTICOLUMNGRID });
|
|
@@ -1616,6 +1644,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
|
|
|
1616
1644
|
this.gridObj.gridLines = newProp.gridSettings.gridLines;
|
|
1617
1645
|
this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
|
|
1618
1646
|
this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
|
|
1647
|
+
this.gridObj.allowResizing = newProp.gridSettings.allowResizing;
|
|
1619
1648
|
if (!(isNullOrUndefined(newProp.gridSettings.allowTextWrap))) {
|
|
1620
1649
|
this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
|
|
1621
1650
|
}
|