@refinitiv-ui/efx-grid 6.0.70 → 6.0.72
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/core/dist/core.js +10 -3
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/grid/Core.js +2 -2
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +8 -1
- package/lib/filter-dialog/lib/filter-dialog.js +101 -64
- 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 +25 -16
- 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 +1 -3
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +78 -4
- package/lib/tr-grid-titlewrap/es6/TitleWrap.d.ts +2 -2
- package/lib/tr-grid-titlewrap/es6/TitleWrap.js +1 -1
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +3 -1
- package/lib/tr-grid-util/es6/FilterBuilder.js +26 -2
- package/lib/types/es6/InCellEditing.d.ts +3 -2
- package/lib/types/es6/RowFiltering.d.ts +1 -3
- package/lib/types/es6/TitleWrap.d.ts +2 -2
- package/lib/versions.json +8 -8
- 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.81";
|
26106
26113
|
};
|
26107
26114
|
/** {@link ElementWrapper#dispose}
|
26108
26115
|
* @override
|
@@ -30973,7 +30980,7 @@ Core_Core.prototype._onRowHeightChanged = function (e) {
|
|
30973
30980
|
// TODO: Set row height one by one is not good
|
30974
30981
|
for(var j = 0; j < len; ++j) {
|
30975
30982
|
var evt = evts[j];
|
30976
|
-
var section = /** @type {ILayoutGrid} */(evt["
|
30983
|
+
var section = /** @type {ILayoutGrid} */(evt["section"]);
|
30977
30984
|
if(!this._containsSection(section)) {
|
30978
30985
|
continue; // The section is no longer contained in this grid
|
30979
30986
|
}
|