@refinitiv-ui/efx-grid 6.0.164 → 6.0.166

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.
@@ -26263,7 +26263,7 @@ Core_Core.prototype._hasPendingRowChange = false;
26263
26263
  * @return {string}
26264
26264
  */
26265
26265
  Core_Core.getVersion = function () {
26266
- return "5.2.2";
26266
+ return "5.2.3";
26267
26267
  };
26268
26268
  /** {@link ElementWrapper#dispose}
26269
26269
  * @override
@@ -26972,11 +26972,13 @@ Core_Core.prototype.getCellInfo = function (cellRef) {
26972
26972
  let ss = this.getSectionSettings(sectionName);
26973
26973
  if(ss) {
26974
26974
  let s = ss.getSection();
26975
- let cell = s.getCell(colIndex, rowIndex);
26976
- if(cell) {
26977
- mouseInfo = {};
26978
- mouseInfo["colIndex"] = colIndex;
26979
- mouseInfo["rowIndex"] = rowIndex;
26975
+ // WARNING: getCellInfo does not required cell to exist in the DOM (i.e., virtualized or hidden cells are included)
26976
+ if(colIndex >= 0 && colIndex < s.getColumnCount() &&
26977
+ rowIndex >= 0 && rowIndex < s.getRowCount()) {
26978
+ mouseInfo = {
26979
+ "colIndex": colIndex,
26980
+ "rowIndex": rowIndex
26981
+ };
26980
26982
  ss.extendEventArg(mouseInfo);
26981
26983
  }
26982
26984
  }