@syncfusion/ej2-multicolumn-combobox 26.2.5 → 26.2.9

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.
@@ -96,6 +96,24 @@ var SortType;
96
96
  */
97
97
  SortType["MultipleColumns"] = "MultipleColumns";
98
98
  })(SortType || (SortType = {}));
99
+ /**
100
+ * Specifies the type of wrap mode to be applied for the grid cells.
101
+ */
102
+ var WrapMode;
103
+ (function (WrapMode) {
104
+ /**
105
+ * Specifies that both header and content text wrapping are enabled.
106
+ */
107
+ WrapMode["Both"] = "Both";
108
+ /**
109
+ * Specifies that only content text wrapping is enabled.
110
+ */
111
+ WrapMode["Content"] = "Content";
112
+ /**
113
+ * Specifies that only header text wrapping is enabled.
114
+ */
115
+ WrapMode["Header"] = "Header";
116
+ })(WrapMode || (WrapMode = {}));
99
117
  /**
100
118
  * The fields property maps the columns of the data table and binds the data to the component.
101
119
  */
@@ -169,6 +187,12 @@ var GridSettings = /** @__PURE__ @class */ (function (_super) {
169
187
  __decorate([
170
188
  Property('Default')
171
189
  ], GridSettings.prototype, "gridLines", void 0);
190
+ __decorate([
191
+ Property(false)
192
+ ], GridSettings.prototype, "allowTextWrap", void 0);
193
+ __decorate([
194
+ Property(WrapMode.Both)
195
+ ], GridSettings.prototype, "textWrapMode", void 0);
172
196
  return GridSettings;
173
197
  }(ChildProperty));
174
198
  /**
@@ -277,6 +301,8 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
277
301
  enableRtl: this.enableRtl,
278
302
  editSettings: { allowAdding: false },
279
303
  query: this.query,
304
+ allowTextWrap: this.gridSettings.allowTextWrap,
305
+ textWrapSettings: { wrapMode: this.gridSettings.textWrapMode },
280
306
  height: this.popupHeight,
281
307
  allowMultiSorting: this.sortType.toString().toLowerCase() === 'multiplecolumns' && this.allowSorting,
282
308
  rowTemplate: this.itemTemplate,
@@ -1560,6 +1586,12 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1560
1586
  this.gridObj.gridLines = newProp.gridSettings.gridLines;
1561
1587
  this.gridObj.rowHeight = newProp.gridSettings.rowHeight;
1562
1588
  this.gridObj.enableAltRow = newProp.gridSettings.enableAltRow;
1589
+ if (!(isNullOrUndefined(newProp.gridSettings.allowTextWrap))) {
1590
+ this.gridObj.allowTextWrap = newProp.gridSettings.allowTextWrap;
1591
+ }
1592
+ if (!(isNullOrUndefined(newProp.gridSettings.textWrapMode))) {
1593
+ this.gridObj.textWrapSettings.wrapMode = newProp.gridSettings.textWrapMode;
1594
+ }
1563
1595
  }
1564
1596
  break;
1565
1597
  case 'fields':
@@ -1717,5 +1749,5 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1717
1749
  return MultiColumnComboBox;
1718
1750
  }(Component));
1719
1751
 
1720
- export { Column, FieldSettings, FilterType, GridSettings, MultiColumnComboBox, MultiColumnGrid, SortOrder, SortType };
1752
+ export { Column, FieldSettings, FilterType, GridSettings, MultiColumnComboBox, MultiColumnGrid, SortOrder, SortType, WrapMode };
1721
1753
  //# sourceMappingURL=ej2-multicolumn-combobox.es5.js.map