Grouped (multi-level) header export
Exports column groups as multi-row headers. XLSX uses merged cells for spanning groups. CSV and PDF use configurable flattening or repeated labels, so hierarchical header context is preserved in every format.
Planned. This page shows the specification from issue #200. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Grid with 2-level column groups (Quarter > Month) and one ungrouped column.
Expected behavior
XLSX with 'merge' shows spanning cells. CSV with 'flatten' shows headers like 'Q1 / Jan'. 'repeat' writes the group label above each child column.
Planned API surface
exportOptions.headerGroups'merge' | 'repeat' | 'flatten' | 'omit'exportOptions.flattenSeparatorAcceptance criteria
- Each header group level produces one header row in 'merge' and 'repeat' modes. (pending)
- XLSX merge ranges exactly span the exported children of each group. (pending)
- Ungrouped columns span all header rows vertically in XLSX. (pending)
- The flatten mode joins labels with flattenSeparator. (pending)
- Groups whose children are all excluded from the export are omitted. (pending)