@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.
@@ -161,7 +161,6 @@ VirtualizedLayoutGrid.prototype.setWidth = function (px) {
|
|
161
161
|
};
|
162
162
|
/** @override */
|
163
163
|
VirtualizedLayoutGrid.prototype.setHeight = function (px) {
|
164
|
-
console.log("unsupported");
|
165
164
|
return false;
|
166
165
|
};
|
167
166
|
/** {@link ElementWrapper#show}
|
@@ -340,7 +339,6 @@ VirtualizedLayoutGrid.prototype.getMinimumRowHeight = function (index) {
|
|
340
339
|
};
|
341
340
|
/** @inheritDoc */
|
342
341
|
VirtualizedLayoutGrid.prototype.setMinimumRowHeight = function (index, val) {
|
343
|
-
console.log("unsupported");
|
344
342
|
return false;
|
345
343
|
};
|
346
344
|
|
@@ -416,7 +414,6 @@ VirtualizedLayoutGrid.prototype.getRowScalability = function (indexY) {
|
|
416
414
|
};
|
417
415
|
/** @inheritDoc */
|
418
416
|
VirtualizedLayoutGrid.prototype.setRowScalability = function (index, val) {
|
419
|
-
console.log("unsupported");
|
420
417
|
return false;
|
421
418
|
};
|
422
419
|
|
@@ -562,17 +559,15 @@ VirtualizedLayoutGrid.prototype.getRowHighlight = function () {
|
|
562
559
|
/** @inheritDoc */
|
563
560
|
VirtualizedLayoutGrid.prototype.setRowHighlight = function (rowIndex) {
|
564
561
|
let prevIndex = this._grid.getRowHighlight();
|
565
|
-
if (prevIndex >= 0) { prevIndex += this._firstIndex; }
|
566
562
|
this._grid.setRowHighlight(rowIndex - this._firstIndex);
|
567
|
-
//Check row highligh is in view
|
568
|
-
rowIndex = this._grid.getRowHighlight();
|
569
|
-
if (rowIndex >= 0) { rowIndex += this._firstIndex; }
|
570
563
|
|
571
564
|
if (this._hasListener("rowHighlighted")) {
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
565
|
+
rowIndex = this._grid.getRowHighlight();
|
566
|
+
|
567
|
+
this._dispatch("rowHighlighted", {
|
568
|
+
"prevRowIndex": (prevIndex >= 0) ? prevIndex + this._firstIndex : prevIndex,
|
569
|
+
"rowIndex": (rowIndex >= 0) ? rowIndex + this._firstIndex : rowIndex
|
570
|
+
});
|
576
571
|
}
|
577
572
|
};
|
578
573
|
|
package/lib/grid/index.js
CHANGED
package/package.json
CHANGED