@refinitiv-ui/efx-grid 6.0.105 → 6.0.107
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/core/dist/core.js +12 -11
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/grid/Core.js +7 -8
- package/lib/core/es6/grid/ILayoutGrid.js +1 -1
- package/lib/core/es6/grid/components/Scrollbar.js +4 -2
- package/lib/filter-dialog/lib/filter-dialog.d.ts +2 -0
- package/lib/filter-dialog/lib/filter-dialog.js +23 -1
- package/lib/filter-dialog/themes/base-checkbox.less +1 -2
- package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +1 -1
- package/lib/formatters/es6/FormatterBuilder.js +10 -1
- package/lib/formatters/es6/SimpleTickerFormatter.d.ts +0 -2
- package/lib/formatters/es6/SimpleTickerFormatter.js +1 -0
- package/lib/grid/index.js +1 -1
- package/lib/rt-grid/dist/rt-grid.js +32 -15
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -0
- package/lib/rt-grid/es6/FieldDefinition.js +20 -4
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +128 -89
- package/lib/tr-grid-printer/es6/CellWriter.d.ts +6 -5
- package/lib/tr-grid-printer/es6/CellWriter.js +57 -49
- package/lib/tr-grid-printer/es6/ColumnWriter.d.ts +1 -0
- package/lib/tr-grid-printer/es6/ColumnWriter.js +3 -1
- package/lib/tr-grid-printer/es6/GridPrinter.js +117 -99
- package/lib/tr-grid-printer/es6/PrintTrait.d.ts +1 -0
- package/lib/tr-grid-printer/es6/PrintTrait.js +60 -47
- package/lib/tr-grid-printer/es6/SectionWriter.d.ts +4 -1
- package/lib/tr-grid-printer/es6/SectionWriter.js +40 -15
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +2 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +14 -0
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +6 -0
- package/lib/tr-grid-util/es6/MultiTableManager.js +1 -0
- package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -0
- package/lib/types/es6/SimpleTickerFormatter.d.ts +0 -2
- package/lib/versions.json +7 -7
- package/package.json +1 -1
package/lib/core/dist/core.js
CHANGED
@@ -3783,7 +3783,7 @@ ILayoutGrid.prototype.setRowOffset = function (index) { };
|
|
3783
3783
|
ILayoutGrid.prototype.updateLayout = function () { };
|
3784
3784
|
|
3785
3785
|
/** This will make the specified cell horizontally span to fit entire row regardless of position of the cell -- cell will shift to the left most of the section.<br>
|
3786
|
-
* If
|
3786
|
+
* If onlyToTheRight is true, the cell will not extend to the left most position<br>
|
3787
3787
|
* This is different from cell colSpan, which the cell remain in the same position. tr-stretched class will also be added to the cell
|
3788
3788
|
* @public
|
3789
3789
|
* @param {number|Cell} cellRef Either column index or cell reference is acceptable
|
@@ -6391,7 +6391,6 @@ Scrollbar.updateTrackThickness = function () {
|
|
6391
6391
|
|
6392
6392
|
/** @override */
|
6393
6393
|
Scrollbar.prototype.dispose = function () {
|
6394
|
-
|
6395
6394
|
let sbListeners = Scrollbar._listeners;
|
6396
6395
|
if(sbListeners) {
|
6397
6396
|
let idx = sbListeners.indexOf(this._onThicknessChanged);
|
@@ -7050,8 +7049,11 @@ Scrollbar.prototype._onStartFading = function (e) {
|
|
7050
7049
|
* @param {Object} e
|
7051
7050
|
*/
|
7052
7051
|
Scrollbar.prototype._onTrackScroll = function (e) {
|
7053
|
-
|
7052
|
+
if(!this._element) {
|
7053
|
+
return; // Element has been disposed
|
7054
|
+
}
|
7054
7055
|
|
7056
|
+
let tScrollVal = (this._vertical) ? e.target["scrollTop"] : e.target["scrollLeft"];
|
7055
7057
|
let pScrollVal = this._convertTrackToPane(tScrollVal);
|
7056
7058
|
|
7057
7059
|
pScrollVal = this._calcProperScrollValue(pScrollVal);
|
@@ -25662,7 +25664,7 @@ Core_Core.prototype._hasPendingRowChange = false;
|
|
25662
25664
|
* @return {string}
|
25663
25665
|
*/
|
25664
25666
|
Core_Core.getVersion = function () {
|
25665
|
-
return "5.1.
|
25667
|
+
return "5.1.108";
|
25666
25668
|
};
|
25667
25669
|
/** {@link ElementWrapper#dispose}
|
25668
25670
|
* @override
|
@@ -30110,17 +30112,16 @@ Core_Core.prototype._onSectionDataChanged = function (e) {
|
|
30110
30112
|
e["colIndex"] = c;
|
30111
30113
|
|
30112
30114
|
for (let r = fromR; r < toR; ++r) {
|
30113
|
-
|
30114
|
-
|
30115
|
-
|
30115
|
+
let rowData = hasDataView ? rowDataCollection[r] : null;
|
30116
|
+
if(rowData) {
|
30116
30117
|
e["rowData"] = rowData;
|
30117
30118
|
e["rowId"] = rids[r];
|
30118
30119
|
e["dataValue"] = rowData ? rowData[cid] : null;
|
30119
|
-
|
30120
|
-
|
30121
|
-
e["cell"] = section["getCell"](c, r, false); // Accessing cell by using bracket allows extenal object to mock Section
|
30120
|
+
e["rowIndex"] = r;
|
30121
|
+
e["cell"] = section["getCell"](c, r, false); // Accessing cell by using bracket allows extenal object to mock Section
|
30122
30122
|
|
30123
|
-
|
30123
|
+
handler(e);
|
30124
|
+
}
|
30124
30125
|
}
|
30125
30126
|
}
|
30126
30127
|
}
|