@datorama/core 22.15.2 → 22.15.3

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.
@@ -152,7 +152,7 @@ export declare class GridService implements OnDestroy {
152
152
  editType?: string;
153
153
  singleClickEdit?: boolean;
154
154
  suppressClickEdit?: boolean;
155
- readOnlyEdit?: boolean; /** Add tree grid specific required settings */
155
+ readOnlyEdit?: boolean;
156
156
  stopEditingWhenCellsLoseFocus?: boolean;
157
157
  enterMovesDown?: boolean;
158
158
  enterMovesDownAfterEdit?: boolean;
@@ -10,4 +10,11 @@ export declare function getColumnsSizes(columns: Column[], original?: boolean):
10
10
  */
11
11
  export declare function getColField(colDef: ColDef): string;
12
12
  export declare function tryParsePivotValue(str: string): PivotColumnData | undefined;
13
+ /**
14
+ * ag-grid 22 nested each pivot row total column in one group per pivot level, and the innermost group gets the "Total" header,
15
+ * but ag-grid 27 adds the column without groups.
16
+ * Turn the column def into those groups in place, as processSecondaryColDef can't replace it in its parent's children.
17
+ * This relies on ag-grid checking for children before it calls processSecondaryColDef, so re-check it when moving to processPivotResultColDef.
18
+ */
19
+ export declare function wrapPivotRowTotalColDef(colDef: ColDef, headerName: string, pivotLevels: number): void;
13
20
  export declare function isHtmlAllowedForCol(gridOptions: DatoGridOptions, colDef: DatoGridColumnDef): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datorama/core",
3
- "version": "22.15.2",
3
+ "version": "22.15.3",
4
4
  "peerDependencies": {
5
5
  "@ag-grid-community/angular": "~27.3.0",
6
6
  "@ag-grid-community/core": "~27.3.0",