@datorama/core 22.12.1-beta.3 → 22.12.1-beta.4

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.
@@ -13429,9 +13429,6 @@ var DatoGridColumnHeaderComponent = /** @class */ (function () {
13429
13429
  else {
13430
13430
  _this.params.setSort(sort);
13431
13431
  }
13432
- if (gridQuery.getGridOptions().pivotGridStyle) {
13433
- _this.params.api.redrawRows();
13434
- }
13435
13432
  });
13436
13433
  this.sortingInfo$ = gridQuery
13437
13434
  .waitForGrid(function () { return gridQuery.gridRef.sortChanged; })
@@ -14455,6 +14452,9 @@ var GridService = /** @class */ (function () {
14455
14452
  }
14456
14453
  this.updateSettings({ sort: sortToApply });
14457
14454
  this.api.grid.setSortModel([sortToApply]);
14455
+ if (this.gridRef.gridOptions.pivotGridStyle) {
14456
+ this.api.grid.redrawRows();
14457
+ }
14458
14458
  }
14459
14459
  }
14460
14460
  };