@refinitiv-ui/efx-grid 6.0.144 → 6.0.145

Sign up to get free protection for your applications and to get access to all the features.
@@ -24260,7 +24260,6 @@ VirtualizedLayoutGrid.prototype.setWidth = function (px) {
24260
24260
  };
24261
24261
  /** @override */
24262
24262
  VirtualizedLayoutGrid.prototype.setHeight = function (px) {
24263
- console.log("unsupported");
24264
24263
  return false;
24265
24264
  };
24266
24265
  /** {@link ElementWrapper#show}
@@ -24439,7 +24438,6 @@ VirtualizedLayoutGrid.prototype.getMinimumRowHeight = function (index) {
24439
24438
  };
24440
24439
  /** @inheritDoc */
24441
24440
  VirtualizedLayoutGrid.prototype.setMinimumRowHeight = function (index, val) {
24442
- console.log("unsupported");
24443
24441
  return false;
24444
24442
  };
24445
24443
 
@@ -24515,7 +24513,6 @@ VirtualizedLayoutGrid.prototype.getRowScalability = function (indexY) {
24515
24513
  };
24516
24514
  /** @inheritDoc */
24517
24515
  VirtualizedLayoutGrid.prototype.setRowScalability = function (index, val) {
24518
- console.log("unsupported");
24519
24516
  return false;
24520
24517
  };
24521
24518
 
@@ -24661,17 +24658,15 @@ VirtualizedLayoutGrid.prototype.getRowHighlight = function () {
24661
24658
  /** @inheritDoc */
24662
24659
  VirtualizedLayoutGrid.prototype.setRowHighlight = function (rowIndex) {
24663
24660
  let prevIndex = this._grid.getRowHighlight();
24664
- if (prevIndex >= 0) { prevIndex += this._firstIndex; }
24665
24661
  this._grid.setRowHighlight(rowIndex - this._firstIndex);
24666
- //Check row highligh is in view
24667
- rowIndex = this._grid.getRowHighlight();
24668
- if (rowIndex >= 0) { rowIndex += this._firstIndex; }
24669
24662
 
24670
24663
  if (this._hasListener("rowHighlighted")) {
24671
- let e = {};
24672
- e["prevRowIndex"] = prevIndex;
24673
- e["rowIndex"] = rowIndex;
24674
- this._dispatch("rowHighlighted", e);
24664
+ rowIndex = this._grid.getRowHighlight();
24665
+
24666
+ this._dispatch("rowHighlighted", {
24667
+ "prevRowIndex": (prevIndex >= 0) ? prevIndex + this._firstIndex : prevIndex,
24668
+ "rowIndex": (rowIndex >= 0) ? rowIndex + this._firstIndex : rowIndex
24669
+ });
24675
24670
  }
24676
24671
  };
24677
24672
 
@@ -25968,7 +25963,7 @@ Core_Core.prototype._hasPendingRowChange = false;
25968
25963
  * @return {string}
25969
25964
  */
25970
25965
  Core_Core.getVersion = function () {
25971
- return "5.1.135";
25966
+ return "5.1.136";
25972
25967
  };
25973
25968
  /** {@link ElementWrapper#dispose}
25974
25969
  * @override