@refinitiv-ui/efx-grid 6.0.12 → 6.0.13

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/lib/grid/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import "./lib/efx-grid.js";
2
- window.EFX_GRID = { version: "6.0.12" };
2
+ window.EFX_GRID = { version: "6.0.13" };
@@ -286,7 +286,7 @@ class Grid extends ResponsiveElement {
286
286
  if (!extList['ConditionalColoringPlugin']) {
287
287
  extensions.push(new ConditionalColoringPlugin());
288
288
  }
289
- if (!extList['RowSegmentingPlugin']) {
289
+ if (!extList['RowGroupingPlugin'] && !extList['RowSegmentingPlugin']) {
290
290
  extensions.push(new RowSegmentingPlugin());
291
291
  }
292
292
  if (!extList['ColumnDraggingPlugin']) {
@@ -13612,6 +13612,7 @@ PredefinedFormula.remove = function(field) {
13612
13612
  * @property {boolean=} stationary=false If enabled, the column order cannot be changed (i.e., this column and any column to its left cannot be moved)
13613
13613
  * @property {boolean=} leftPinned=false If enabled, the column will not be part of the scrollable area and is pinned to the left side
13614
13614
  * @property {boolean=} rightPinned=false If enabled, the column will not be part of the scrollable area and is pinned to the right side
13615
+ * @property {Object=} info=null Store additional information
13615
13616
  */
13616
13617
 
13617
13618
  /** mapping of field type to javascript type
@@ -13804,6 +13805,10 @@ ColumnDefinition.prototype._textSelect = false;
13804
13805
  * @private
13805
13806
  */
13806
13807
  ColumnDefinition.prototype._userModel = null;
13808
+ /** @type {Object}
13809
+ * @private
13810
+ */
13811
+ ColumnDefinition.prototype._info = null;
13807
13812
  //#endregion Private Members
13808
13813
 
13809
13814
 
@@ -13963,6 +13968,11 @@ ColumnDefinition.prototype.initialize = function(columnOption) {
13963
13968
  this._textSelect = val;
13964
13969
  }
13965
13970
 
13971
+ val = columnOption["info"];
13972
+ if(val) {
13973
+ this._info = val;
13974
+ }
13975
+
13966
13976
  this._userModel = columnOption;
13967
13977
  };
13968
13978
 
@@ -14238,6 +14248,10 @@ ColumnDefinition.prototype.getClasses = function() {
14238
14248
  ColumnDefinition.prototype.getConfigObject = function(colOptions) {
14239
14249
  var obj = colOptions || {};
14240
14250
 
14251
+ if(this._info){
14252
+ obj["info"] = this._info;
14253
+ }
14254
+
14241
14255
  if(this._field !== "" && !this._field.match(/^COLUMN_/)) {
14242
14256
  obj["field"] = this._field;
14243
14257
  }
@@ -14576,6 +14590,21 @@ ColumnDefinition.prototype.clearUserModel = function() {
14576
14590
  this._userModel = null;
14577
14591
  };
14578
14592
 
14593
+ /** @public
14594
+ * @param {Object} obj
14595
+ */
14596
+ ColumnDefinition.prototype.setColumnInfo = function(obj) {
14597
+ this._info = obj;
14598
+ };
14599
+
14600
+ /** @public
14601
+ * @return {Object}
14602
+ */
14603
+ ColumnDefinition.prototype.getColumnInfo = function() {
14604
+ return this._info;
14605
+ };
14606
+
14607
+
14579
14608
 
14580
14609
  /* harmony default export */ var js_ColumnDefinition = (ColumnDefinition);
14581
14610