@refinitiv-ui/efx-grid 6.0.70 → 6.0.71
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/core/dist/core.js +9 -2
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/grid/Core.js +1 -1
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +8 -1
- package/lib/filter-dialog/lib/filter-dialog.js +26 -28
- package/lib/grid/index.js +1 -1
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +7 -1
- package/lib/tr-grid-filter-input/es6/FilterInput.js +9 -3
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +3 -2
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +65 -18
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +0 -2
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +10 -0
- package/lib/tr-grid-titlewrap/es6/TitleWrap.d.ts +2 -2
- package/lib/tr-grid-titlewrap/es6/TitleWrap.js +1 -1
- package/lib/types/es6/InCellEditing.d.ts +3 -2
- package/lib/types/es6/RowFiltering.d.ts +0 -2
- package/lib/types/es6/TitleWrap.d.ts +2 -2
- package/lib/versions.json +7 -7
- package/package.json +1 -1
package/lib/core/dist/core.js
CHANGED
@@ -24986,7 +24986,14 @@ VirtualizedLayoutGrid.prototype.getFirstIndexInView = function () {
|
|
24986
24986
|
|
24987
24987
|
/** @inheritDoc */
|
24988
24988
|
VirtualizedLayoutGrid.prototype.getLastIndexInView = function () {
|
24989
|
-
|
24989
|
+
var li = this._firstIndex + this._getInnerRowCount() - 1;
|
24990
|
+
var core = this._grid._getContext();
|
24991
|
+
var dv = core.getDataSource();
|
24992
|
+
var actualLastIndex = dv ? dv.getRowCount() - 1 : -1;
|
24993
|
+
if (li > actualLastIndex) { //Avoid incorrect index because the delay of row count synchronization after filtering
|
24994
|
+
return actualLastIndex;
|
24995
|
+
}
|
24996
|
+
return li;
|
24990
24997
|
};
|
24991
24998
|
|
24992
24999
|
/** @inheritDoc */
|
@@ -26102,7 +26109,7 @@ Core_Core.prototype._firstRendered = false;
|
|
26102
26109
|
* @return {string}
|
26103
26110
|
*/
|
26104
26111
|
Core_Core.getVersion = function () {
|
26105
|
-
return "5.1.
|
26112
|
+
return "5.1.80";
|
26106
26113
|
};
|
26107
26114
|
/** {@link ElementWrapper#dispose}
|
26108
26115
|
* @override
|