mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-16 15:23:57 +00:00
Data Subtotal grouped each group's detail rows at level 1 and left the subtotal rows at level 0, so outline level 1 still showed every subtotal. Excel adds an outer group over all data and subtotal rows, summarised by the grand total: details at level 2, subtotals at level 1, the grand total at level 0. Subtotal now adds that group after writing the grand total. Two tests that read the old levels now expect Excel's: the summary-row test shows level 2 to keep the subtotal visible, and the sheet-prefix test expects a detail row at level 2.