@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.
@@ -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,7 +338,10 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
325
338
  args.cancel = true;
326
339
  _this.gridKeyActionHandler(args, true);
327
340
  }
328
- }
341
+ },
342
+ resizing: function (args) { _this.gridSettings.resizing(args); },
343
+ resizeStart: function (args) { _this.gridSettings.resizeStart(args); },
344
+ resizeStop: function (args) { _this.gridSettings.resizeStop(args); }
329
345
  });
330
346
  this.gridEle = this.createElement('div', { id: getUniqueID('grid'), className: MULTICOLUMNGRID });
331
347
  this.updateGroupByField();
@@ -1671,6 +1687,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1671
1687
  this.gridObj.gridLines = newProp.gridSettings.gridLines;
1672
1688
  this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
1673
1689
  this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
1690
+ this.gridObj.allowResizing = newProp.gridSettings.allowResizing;
1674
1691
  if (!(isNullOrUndefined(newProp.gridSettings.allowTextWrap))) {
1675
1692
  this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
1676
1693
  }