@refinitiv-ui/efx-grid 6.0.75 → 6.0.77
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/column-dragging/es6/ColumnDragging.js +6 -5
- package/lib/core/dist/core.js +3 -3
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/data/DataView.js +1 -1
- package/lib/core/es6/grid/Core.js +1 -1
- package/lib/core/es6/grid/components/Scrollbar.js +1 -1
- package/lib/grid/index.js +1 -1
- package/lib/row-segmenting/es6/RowSegmenting.js +14 -0
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +0 -20
- package/lib/versions.json +5 -5
- package/package.json +1 -1
@@ -538,11 +538,8 @@ ColumnDraggingPlugin.prototype._onDrag = function (e) {
|
|
538
538
|
e.dragBox = this._dragBox;
|
539
539
|
this._renderGuideline();
|
540
540
|
this._dispatch("drag", /** @type{!Object} */(e));
|
541
|
-
|
542
|
-
|
543
|
-
var drop = this._dragUI.renderDragBox(e, this._clickedGrid);
|
544
|
-
if(!drop) { // can not be drop or not allow to drop or insertion
|
545
|
-
this._pos["cancel"] = true;
|
541
|
+
if(!this._noDragBox) {
|
542
|
+
this._dragUI.renderDragBox(e, this._clickedGrid);
|
546
543
|
}
|
547
544
|
}
|
548
545
|
};
|
@@ -586,6 +583,9 @@ ColumnDraggingPlugin.prototype._onDragEnd = function (e) {
|
|
586
583
|
operationCancelled = true;
|
587
584
|
}
|
588
585
|
|
586
|
+
if(!this._noDragBox && this._dragBoxIcon.icon === "void") {
|
587
|
+
operationCancelled = true;
|
588
|
+
}
|
589
589
|
//When move to the right, the first position is the current one.
|
590
590
|
if (this._destColumn > this._startColumn) {
|
591
591
|
--this._destColumn;
|
@@ -698,6 +698,7 @@ ColumnDraggingPlugin.prototype._clearCache = function() {
|
|
698
698
|
|
699
699
|
this._clickedRow = -1;
|
700
700
|
this._clickedSection = this._clickedGrid = null;
|
701
|
+
this._dragBoxIcon.icon = null;
|
701
702
|
};
|
702
703
|
|
703
704
|
/** @private
|
package/lib/core/dist/core.js
CHANGED
@@ -7588,7 +7588,7 @@ Scrollbar.prototype._onMouseWheel = function (e) {
|
|
7588
7588
|
util._preventDefault(e);
|
7589
7589
|
return;
|
7590
7590
|
}
|
7591
|
-
if(e.ctrlKey || e.altKey
|
7591
|
+
if(e.ctrlKey || e.altKey ) { return; }
|
7592
7592
|
if (!this.isActive()) { return; }
|
7593
7593
|
|
7594
7594
|
var delta = (this._vertical) ? e["deltaY"] : e["deltaX"];
|
@@ -21688,7 +21688,7 @@ DataView.prototype._onDataChanged = function (e) {
|
|
21688
21688
|
var event = events[0];
|
21689
21689
|
if (event["globalChange"]) {
|
21690
21690
|
this._updateRowIds(); // Reset all row ids and perform sorting
|
21691
|
-
this._dispatchDataChange(
|
21691
|
+
this._dispatchDataChange(event);
|
21692
21692
|
return;
|
21693
21693
|
}
|
21694
21694
|
|
@@ -26109,7 +26109,7 @@ Core_Core.prototype._firstRendered = false;
|
|
26109
26109
|
* @return {string}
|
26110
26110
|
*/
|
26111
26111
|
Core_Core.getVersion = function () {
|
26112
|
-
return "5.1.
|
26112
|
+
return "5.1.83";
|
26113
26113
|
};
|
26114
26114
|
/** {@link ElementWrapper#dispose}
|
26115
26115
|
* @override
|