WarUI

Subtotal placement: group header vs group footer

GRID-A16-F11P1baselinePlanned

Subtotals can appear inline on the group header row, in a dedicated footer row after the group's children, or in both places. Footer rows keep totals visible after scrolling through long groups.

Planned. This page shows the specification from issue #196. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Ledger grouped by Account with footer subtotals.

Expected behavior

Footer rows appear after each expanded group's last child. A collapsed group shows its header aggregates, plus the footer if the toggle is on.

Planned API surface

options.grouping.subtotalPosition (header | footer | both | none)options.grouping.showFooterWhenCollapsed

Acceptance criteria

  • position=footer renders exactly one footer row per expanded group. (pending)
  • Footer values equal the header aggregate values for the same group. (pending)
  • position=none renders no aggregates on group rows. (pending)
  • Footer rows are excluded from selection and leaf counts. (pending)