feat: Adds options to show subtotals in Pivot Table (#24960)

This commit is contained in:
Michael S. Molina
2023-08-14 09:20:32 -03:00
committed by GitHub
parent a44c99899a
commit be11556799
8 changed files with 42 additions and 2 deletions

View File

@@ -92,14 +92,14 @@ export class TableRenderer extends React.Component {
const colSubtotalDisplay = {
displayOnTop: false,
enabled: rowTotals,
enabled: tableOptions.colSubTotals,
hideOnExpand: false,
...subtotalOptions.colSubtotalDisplay,
};
const rowSubtotalDisplay = {
displayOnTop: false,
enabled: colTotals,
enabled: tableOptions.rowSubTotals,
hideOnExpand: false,
...subtotalOptions.rowSubtotalDisplay,
};