@refinitiv-ui/efx-grid 6.0.51 → 6.0.52

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,3 +1,3 @@
1
1
  import {Grid} from "./lib/efx-grid.js";
2
2
  export {Grid}
3
- window.EFX_GRID = { version: "6.0.51" };
3
+ window.EFX_GRID = { version: "6.0.52" };
@@ -16123,14 +16123,18 @@ ColumnDefinition.prototype._defaultRenderer = function(e) {
16123
16123
  */
16124
16124
  ColumnDefinition.prototype._customRenderer = function(e) {
16125
16125
  var rowDef = /** @type{RowDefinition} */(e["dataValue"]);
16126
- var rowData = rowDef.getRowData();
16127
16126
 
16128
16127
  var arg = this._eventArg; // Reuse the same object
16129
- arg["rowDef"] = rowDef;
16130
- arg["rowData"] = rowData;
16131
- arg["rowIndex"] = e["rowIndex"];
16132
- if(rowData) {
16133
- arg["data"] = rowData[this._field];
16128
+ if(rowDef) {
16129
+ var rowData = rowDef.getRowData();
16130
+ arg["rowDef"] = rowDef;
16131
+ arg["rowData"] = rowData;
16132
+ arg["rowIndex"] = e["rowIndex"];
16133
+ if(rowData) {
16134
+ arg["data"] = rowData[this._field];
16135
+ } else {
16136
+ arg["data"] = null;
16137
+ }
16134
16138
  } else {
16135
16139
  arg["data"] = null;
16136
16140
  }