Outline & Grouping
Group rows or columns into collapsible outlines with Excel-style +/- gutter buttons and a 1/2/3 level selector
Data model
type DimensionProperties = {
// Depth of the group this row/column belongs to (1..7).
outlineLevel?: number;
// True on a summary cell whose group is currently collapsed —
// controls whether the gutter shows + or -.
collapsed?: boolean;
// True on a child cell when its group is collapsed. Distinct from
// `hiddenByUser` so an outline expand doesn't unhide a manually
// hidden row.
hiddenByGroup?: boolean;
// ...sizing/visibility flags
};type OutlinePr = {
// Where the row summary sits relative to its group.
// true (Excel default): summary is BELOW the group
// false: summary is ABOVE the group
summaryBelow?: boolean;
// Where the column summary sits.
// true (Excel default): summary is to the RIGHT of the group
// false: summary is to the LEFT
summaryRight?: boolean;
};State hooks
Callback
Signature
Behavior
Rendering the gutter
Layout details
Direction (summaryBelow / summaryRight)
Keyboard shortcuts
Shortcut
Action
Import / Export
Format
Import
Export
Round-trip tests
XLSX details
ODS details
Notes & gotchas
Last updated