@refinitiv-ui/efx-grid 6.0.52 → 6.0.53
Sign up to get free protection for your applications and to get access to all the features.
package/lib/grid/index.js
CHANGED
@@ -1506,12 +1506,12 @@ ColumnStackPlugin.prototype._addRefToStack = function (stackOption, colIndex) {
|
|
1506
1506
|
/** Remove unique ref of the specified index from the stack
|
1507
1507
|
* @private
|
1508
1508
|
* @param {Object} stackOption
|
1509
|
-
* @param {string}
|
1509
|
+
* @param {string} colId For removing state
|
1510
1510
|
* @param {number} colIndex For updating UI
|
1511
1511
|
* @return {boolean}
|
1512
1512
|
*/
|
1513
|
-
ColumnStackPlugin.prototype._removeRefFromStack = function (stackOption,
|
1514
|
-
if(!this._groupDefs.removeGroupChild(stackOption.id,
|
1513
|
+
ColumnStackPlugin.prototype._removeRefFromStack = function (stackOption, colId, colIndex) {
|
1514
|
+
if(!this._groupDefs.removeGroupChild(stackOption.id, colId)) {
|
1515
1515
|
return false;
|
1516
1516
|
}
|
1517
1517
|
|
@@ -1787,7 +1787,7 @@ ColumnStackPlugin.prototype.removeColumnFromStack = function(colRef) {
|
|
1787
1787
|
}
|
1788
1788
|
|
1789
1789
|
var colIndices = this.getColumnIndices(children);
|
1790
|
-
this._removeRefFromStack(stack,
|
1790
|
+
this._removeRefFromStack(stack, colId, colIndex);
|
1791
1791
|
|
1792
1792
|
this.moveColumnById(colIndex, colIndices[memberCount - 1] + 1); // This assumes that the column order is already in correct position
|
1793
1793
|
|
@@ -1890,7 +1890,7 @@ ColumnStackPlugin.prototype.addStackChild = function(stackId, colRef) {
|
|
1890
1890
|
*/
|
1891
1891
|
ColumnStackPlugin.prototype.removeStackChild = function(stackId, colRef) {
|
1892
1892
|
if(stackId === this.getStackId(colRef)) {
|
1893
|
-
this.removeColumnFromStack(
|
1893
|
+
this.removeColumnFromStack(colRef);
|
1894
1894
|
}
|
1895
1895
|
};
|
1896
1896
|
/** @public
|
package/lib/versions.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
"tr-grid-column-grouping": "1.0.52",
|
14
14
|
"tr-grid-column-resizing": "1.0.28",
|
15
15
|
"tr-grid-column-selection": "1.0.28",
|
16
|
-
"tr-grid-column-stack": "1.0.
|
16
|
+
"tr-grid-column-stack": "1.0.68",
|
17
17
|
"tr-grid-conditional-coloring": "1.0.61",
|
18
18
|
"tr-grid-content-wrap": "1.0.20",
|
19
19
|
"tr-grid-contextmenu": "1.0.39",
|
package/package.json
CHANGED