@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.
@@ -1,8 +1,8 @@
1
- import { Property, ChildProperty, getUniqueID, isNullOrUndefined, addClass, removeClass, formatUnit, attributes, prepend, Browser, append, L10n, select, compile, EventHandler, KeyboardEvents, closest, Animation, detach, Complex, Collection, Event, NotifyPropertyChanges, Component } from '@syncfusion/ej2-base';
1
+ import { Property, ChildProperty, Event, getUniqueID, isNullOrUndefined, addClass, removeClass, formatUnit, attributes, prepend, Browser, append, L10n, select, compile, EventHandler, KeyboardEvents, closest, Animation, detach, Complex, Collection, NotifyPropertyChanges, Component } 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 __extends = (undefined && undefined.__extends) || (function () {
@@ -42,7 +42,7 @@ var MultiColumnGrid = /** @__PURE__ @class */ (function () {
42
42
  * @private
43
43
  */
44
44
  MultiColumnGrid.prototype.InjectModules = function () {
45
- Grid.Inject(VirtualScroll, Group, Edit, Sort);
45
+ Grid.Inject(VirtualScroll, Group, Edit, Sort, Resize);
46
46
  };
47
47
  return MultiColumnGrid;
48
48
  }());
@@ -193,6 +193,18 @@ var GridSettings = /** @__PURE__ @class */ (function (_super) {
193
193
  __decorate([
194
194
  Property(WrapMode.Both)
195
195
  ], GridSettings.prototype, "textWrapMode", void 0);
196
+ __decorate([
197
+ Property(false)
198
+ ], GridSettings.prototype, "allowResizing", void 0);
199
+ __decorate([
200
+ Event()
201
+ ], GridSettings.prototype, "resizing", void 0);
202
+ __decorate([
203
+ Event()
204
+ ], GridSettings.prototype, "resizeStart", void 0);
205
+ __decorate([
206
+ Event()
207
+ ], GridSettings.prototype, "resizeStop", void 0);
196
208
  return GridSettings;
197
209
  }(ChildProperty));
198
210
  /**
@@ -304,6 +316,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
304
316
  allowTextWrap: this.gridSettings.allowTextWrap,
305
317
  textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
306
318
  height: this.popupHeight,
319
+ allowResizing: this.gridSettings.allowResizing,
307
320
  allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
308
321
  rowTemplate: this.itemTemplate,
309
322
  dataBound: function () { _this.onDataBound(); },
@@ -325,6 +338,21 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
325
338
  args.cancel = true;
326
339
  _this.gridKeyActionHandler(args, true);
327
340
  }
341
+ },
342
+ resizing: function (args) {
343
+ if (_this.gridSettings.resizing) {
344
+ _this.gridSettings.resizing.call(_this, args);
345
+ }
346
+ },
347
+ resizeStart: function (args) {
348
+ if (_this.gridSettings.resizeStart) {
349
+ _this.gridSettings.resizeStart.call(_this, args);
350
+ }
351
+ },
352
+ resizeStop: function (args) {
353
+ if (_this.gridSettings.resizeStop) {
354
+ _this.gridSettings.resizeStop.call(_this, args);
355
+ }
328
356
  }
329
357
  });
330
358
  this.gridEle = this.createElement('div', { id: getUniqueID('grid'), className: MULTICOLUMNGRID });
@@ -1671,6 +1699,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1671
1699
  this.gridObj.gridLines = newProp.gridSettings.gridLines;
1672
1700
  this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
1673
1701
  this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
1702
+ this.gridObj.allowResizing = newProp.gridSettings.allowResizing;
1674
1703
  if (!(isNullOrUndefined(newProp.gridSettings.allowTextWrap))) {
1675
1704
  this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
1676
1705
  }