@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.
- package/bundles/datorama-core.umd.js +3 -4
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +1 -1
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/esm2015/lib/grid-v2/grid-column-header/grid-column-header.component.js +1 -4
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +4 -2
- package/esm5/lib/grid-v2/grid-column-header/grid-column-header.component.js +1 -4
- package/esm5/lib/grid-v2/grid-store/grid.service.js +4 -2
- package/fesm2015/datorama-core.js +3 -4
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +3 -4
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -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; })
|
|
@@ -14160,7 +14157,6 @@ var GridService = /** @class */ (function () {
|
|
|
14160
14157
|
params.gridOptions.saveSettings = false;
|
|
14161
14158
|
}
|
|
14162
14159
|
if (params.gridOptions.pivotGridStyle) {
|
|
14163
|
-
params.gridOptions.animateRows = false;
|
|
14164
14160
|
params.gridOptions.rowHeight = 30;
|
|
14165
14161
|
params.gridOptions.defaultColDef = __assign(__assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this), cellStyle: function (params) {
|
|
14166
14162
|
var style = { lineHeight: '30px' };
|
|
@@ -14456,6 +14452,9 @@ var GridService = /** @class */ (function () {
|
|
|
14456
14452
|
}
|
|
14457
14453
|
this.updateSettings({ sort: sortToApply });
|
|
14458
14454
|
this.api.grid.setSortModel([sortToApply]);
|
|
14455
|
+
if (this.gridRef.gridOptions.pivotGridStyle) {
|
|
14456
|
+
this.api.grid.redrawRows();
|
|
14457
|
+
}
|
|
14459
14458
|
}
|
|
14460
14459
|
}
|
|
14461
14460
|
};
|