@datorama/core 22.12.1-beta.2 → 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.
@@ -13628,9 +13628,6 @@
13628
13628
  else {
13629
13629
  _this.params.setSort(sort);
13630
13630
  }
13631
- if (gridQuery.getGridOptions().pivotGridStyle) {
13632
- _this.params.api.redrawRows();
13633
- }
13634
13631
  });
13635
13632
  this.sortingInfo$ = gridQuery
13636
13633
  .waitForGrid(function () { return gridQuery.gridRef.sortChanged; })
@@ -14359,7 +14356,6 @@
14359
14356
  params.gridOptions.saveSettings = false;
14360
14357
  }
14361
14358
  if (params.gridOptions.pivotGridStyle) {
14362
- params.gridOptions.animateRows = false;
14363
14359
  params.gridOptions.rowHeight = 30;
14364
14360
  params.gridOptions.defaultColDef = __assign(__assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this), cellStyle: function (params) {
14365
14361
  var style = { lineHeight: '30px' };
@@ -14655,6 +14651,9 @@
14655
14651
  }
14656
14652
  this.updateSettings({ sort: sortToApply });
14657
14653
  this.api.grid.setSortModel([sortToApply]);
14654
+ if (this.gridRef.gridOptions.pivotGridStyle) {
14655
+ this.api.grid.redrawRows();
14656
+ }
14658
14657
  }
14659
14658
  }
14660
14659
  };