@refinitiv-ui/efx-grid 6.0.54 → 6.0.56
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 +11 -8
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/grid/Core.d.ts +1 -1
- package/lib/core/es6/grid/Core.js +11 -8
- package/lib/grid/index.js +1 -1
- package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
- package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/grid/themes/halo/light/efx-grid.js +1 -1
- package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/grid/themes/solar/charcoal/efx-grid.js +1 -1
- package/lib/grid/themes/solar/charcoal/es5/all-elements.js +1 -1
- package/lib/grid/themes/solar/pearl/efx-grid.js +1 -1
- package/lib/grid/themes/solar/pearl/es5/all-elements.js +1 -1
- package/lib/rt-grid/dist/rt-grid.js +110 -88
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/Grid.js +21 -30
- package/lib/statistics-row/es6/StatisticsRow.js +1 -1
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +1 -1
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +34 -2
- package/lib/types/es6/Core/grid/Core.d.ts +1 -1
- package/lib/versions.json +3 -3
- package/package.json +1 -1
package/lib/core/dist/core.js
CHANGED
@@ -26053,7 +26053,7 @@ Core_Core.prototype._batches = null;
|
|
26053
26053
|
* @return {string}
|
26054
26054
|
*/
|
26055
26055
|
Core_Core.getVersion = function () {
|
26056
|
-
return "5.1.
|
26056
|
+
return "5.1.72";
|
26057
26057
|
};
|
26058
26058
|
/** {@link ElementWrapper#dispose}
|
26059
26059
|
* @override
|
@@ -29936,18 +29936,21 @@ Core_Core.prototype.getValidColumnList = function (colIds, columnMap) {
|
|
29936
29936
|
};
|
29937
29937
|
|
29938
29938
|
/** @public
|
29939
|
-
* @description Create mapping object from an array of strings
|
29940
|
-
* @param {Array.<string>=}
|
29939
|
+
* @description Create mapping object from an array of strings or column indices
|
29940
|
+
* @param {Array.<string|number>=} colRefs
|
29941
29941
|
* @return {!Object} Column mapping object
|
29942
29942
|
*/
|
29943
|
-
Core_Core.prototype.createColumnMap = function (
|
29944
|
-
if(!
|
29945
|
-
|
29943
|
+
Core_Core.prototype.createColumnMap = function (colRefs) {
|
29944
|
+
if(!colRefs){
|
29945
|
+
colRefs = this.getColumnIds();
|
29946
29946
|
}
|
29947
29947
|
var mappingObj = {};
|
29948
|
-
var count =
|
29948
|
+
var count = colRefs.length;
|
29949
29949
|
for(var i = 0; i < count; i++){
|
29950
|
-
var colId =
|
29950
|
+
var colId = colRefs[i];
|
29951
|
+
if(typeof colId === "number"){
|
29952
|
+
colId = this.getColumnId(colId);
|
29953
|
+
}
|
29951
29954
|
if(colId){
|
29952
29955
|
mappingObj[colId] = true;
|
29953
29956
|
}
|