@refinitiv-ui/efx-grid 6.0.97 → 6.0.98
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
CHANGED
@@ -18990,6 +18990,10 @@ DataView.prototype._wrapSize = 0;
|
|
18990
18990
|
* @type {number}
|
18991
18991
|
*/
|
18992
18992
|
DataView.prototype._wrapTimerId = 0;
|
18993
|
+
/** @private
|
18994
|
+
* @type {boolean}
|
18995
|
+
*/
|
18996
|
+
DataView.prototype._stalledSorting = false;
|
18993
18997
|
|
18994
18998
|
/** @public
|
18995
18999
|
* @fires DataView#preDisposed
|
@@ -21032,11 +21036,11 @@ DataView.prototype._searchRow = function(rids, searchLogic, start, end, inc) {
|
|
21032
21036
|
|
21033
21037
|
/** Blocks all row insertion and removal, but keep updating the data
|
21034
21038
|
* @public
|
21035
|
-
* @param {boolean=}
|
21036
|
-
* @return {boolean}
|
21039
|
+
* @param {boolean=} bool
|
21040
|
+
* @return {boolean} Returns true, if there is any change
|
21037
21041
|
*/
|
21038
|
-
DataView.prototype.stall = function(
|
21039
|
-
let newBool =
|
21042
|
+
DataView.prototype.stall = function(bool) {
|
21043
|
+
let newBool = bool !== false;
|
21040
21044
|
let curBool = this._shared.stalledRids ? true : false;
|
21041
21045
|
if(curBool === newBool) { return false; }
|
21042
21046
|
if(newBool) {
|
@@ -21053,6 +21057,25 @@ DataView.prototype.stall = function(opt_bool) {
|
|
21053
21057
|
}
|
21054
21058
|
return true;
|
21055
21059
|
};
|
21060
|
+
/** Blocks existing sorting from performing on every data change
|
21061
|
+
* @public
|
21062
|
+
* @param {boolean=} bool
|
21063
|
+
* @return {boolean} Returns true, if there is any change
|
21064
|
+
*/
|
21065
|
+
DataView.prototype.stallSorting = function(bool) {
|
21066
|
+
let newBool = bool !== false;
|
21067
|
+
if(this._stalledSorting !== newBool) {
|
21068
|
+
this._stalledSorting = newBool;
|
21069
|
+
|
21070
|
+
if(!newBool && this.isSorting()) {
|
21071
|
+
if(this._sort()) {
|
21072
|
+
this._dispatchDataChange(data_DataTable._positionChangeArg);
|
21073
|
+
}
|
21074
|
+
}
|
21075
|
+
}
|
21076
|
+
return true;
|
21077
|
+
};
|
21078
|
+
|
21056
21079
|
/** Automatically and asyncronuosly remove group that has no member or no content. Predefined groups will not be removed in this way.
|
21057
21080
|
* @public
|
21058
21081
|
* @param {boolean=} opt_bool
|
@@ -21088,7 +21111,7 @@ DataView.prototype.enableAutoGroupHiding = function(opt_bool) {
|
|
21088
21111
|
* @public
|
21089
21112
|
*/
|
21090
21113
|
DataView.prototype.synchronizeRowOrder = function() {
|
21091
|
-
if(this.isSorting()) {
|
21114
|
+
if(!this._stalledSorting && this.isSorting()) {
|
21092
21115
|
this._dt._sort(this._sortingDefs);
|
21093
21116
|
}
|
21094
21117
|
};
|
@@ -22141,6 +22164,9 @@ DataView.prototype._sort = function() {
|
|
22141
22164
|
if(this._groupMembers) {
|
22142
22165
|
return false; // DataView with children should not be sorted as sort operation will be done on each child
|
22143
22166
|
}
|
22167
|
+
if(this._stalledSorting) {
|
22168
|
+
return false;
|
22169
|
+
}
|
22144
22170
|
|
22145
22171
|
if(this._dt._getSegmentSeparators() || this.isSorting()) {
|
22146
22172
|
let rids = this._rids;
|
@@ -26001,7 +26027,7 @@ Core_Core.prototype._hasPendingRowChange = false;
|
|
26001
26027
|
* @return {string}
|
26002
26028
|
*/
|
26003
26029
|
Core_Core.getVersion = function () {
|
26004
|
-
return "5.1.
|
26030
|
+
return "5.1.98";
|
26005
26031
|
};
|
26006
26032
|
/** {@link ElementWrapper#dispose}
|
26007
26033
|
* @override
|