@refinitiv-ui/efx-grid 6.0.50 → 6.0.51

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.
@@ -1070,8 +1070,7 @@ ColumnDefinition.prototype._retrieveNestedFields = function(fields) {
1070
1070
  */
1071
1071
  ColumnDefinition.prototype._defaultRenderer = function(e) {
1072
1072
  var rowDef = /** @type{RowDefinition} */(e["dataValue"]);
1073
- var data = rowDef.getData(this._field);
1074
- e["cell"].setContent(data);
1073
+ e["cell"].setContent(rowDef ? rowDef.getData(this._field) : null);
1075
1074
  };
1076
1075
  /** @private
1077
1076
  * @param {Object} e
@@ -112,7 +112,7 @@ declare class DataTable extends DataCache {
112
112
 
113
113
  public getSegmentChildIds(segmentId: string): (string)[]|null;
114
114
 
115
- public sortSeparators(sortLogics: ((...params: any[]) => any)|(((...params: any[]) => any))[]|null, sortOrders: (number)[]|null, cids: (string)[]|null): boolean;
115
+ public sortSeparators(sortLogics: ((...params: any[]) => any)|(((...params: any[]) => any))[]|any|null, sortOrders?: (number)[]|null, cids?: (string)[]|null): boolean;
116
116
 
117
117
  public sortSegments(compare: ((...params: any[]) => any)|null): boolean;
118
118
 
@@ -272,10 +272,12 @@ declare class DataView extends EventDispatcher {
272
272
 
273
273
  public getSegmentChildIds(segmentRef: string|number|null): (string)[]|null;
274
274
 
275
- public sortSeparators(sortLogics: (((...params: any[]) => any))[]|null, sortOrders: (number)[]|null, cids: (string)[]|null): void;
275
+ public sortSeparators(sortLogics: ((...params: any[]) => any)|(((...params: any[]) => any))[]|any|null, sortOrders?: (number)[]|null, cids?: (string)[]|null): void;
276
276
 
277
277
  public sortSegments(compare: ((...params: any[]) => any)|null): void;
278
278
 
279
+ public enableEmptySegmentFiltering(enabled?: boolean|null): void;
280
+
279
281
  public setSegmentClassification(segmentRef: string|number|null, fields: string|(string)[]|null): boolean;
280
282
 
281
283
  public getWrapSize(): number;
@@ -27,6 +27,8 @@ declare class Segment extends EventDispatcher {
27
27
 
28
28
  public getChildIds(): (string)[];
29
29
 
30
+ public getChildren(): any;
31
+
30
32
  public getChildCount(): number;
31
33
 
32
34
  public getClassification(): (string)[]|null;
package/package.json CHANGED
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "version": "6.0.50"
69
+ "version": "6.0.51"
70
70
  }