-
-
Notifications
You must be signed in to change notification settings - Fork 283
Open
Description
Description
The rendererOptions.table.rowTotals and rendererOptions.table.colTotals options do not work in react-pivottable 0.11.0.
According to PivotTable.js documentation, these options should control the visibility of row and column totals.
Steps to Reproduce
<PivotTableUI
data={data}
onChange={setPivotState}
{...pivotState}
rendererOptions={{
table: {
rowTotals: false,
colTotals: false,
}
}}
/>Expected Behavior
Row and column totals should be hidden when set to false.
Actual Behavior
Row and column totals are still displayed regardless of the setting.
Environment
- react-pivottable: 0.11.0
- React: 18.3.1
Workaround
Currently using CSS to hide totals:
.pvtTotal, .pvtTotalLabel, .pvtGrandTotal {
display: none;
}Metadata
Metadata
Assignees
Labels
No labels