@syncfusion/ej2-pivotview 31.2.2-783882 → 31.2.2-791186

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/base/util.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-pivotview",
3
- "version": "31.2.2-783882",
3
+ "version": "31.2.2-791186",
4
4
  "description": "The pivot grid, or pivot table, is used to visualize large sets of relational data in a cross-tabular format, similar to an Excel pivot table.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
package/src/base/util.js CHANGED
@@ -983,6 +983,9 @@ var PivotUtil = /** @class */ (function () {
983
983
  sortMembersOrder;
984
984
  }
985
985
  else if (type === 'string') {
986
+ if (sortOrder === 'None') {
987
+ return sortMembersOrder;
988
+ }
986
989
  var sortElements = function (a, b) {
987
990
  return sortOrder === 'Ascending'
988
991
  ? (String(a.actualText) === 'Grand Total' || String(b.actualText) === 'Grand Total') ? 0 : (String(a.actualText)).localeCompare(String(b.actualText), undefined, { sensitivity: 'base' })