An open-source JavaScript plugin for PivotTable.js to render rows and columns of a pivot table with subtotals and lets you expand and collapse subtotals.