Aligned grids

Aligned grids are two or more independent <SvGrid> instances kept in lockstep: horizontal scroll and column-resize widths propagate between them. Use it for a budget-vs-actuals comparison, or a totals grid pinned under a body grid, where the columns must stay lined up.

Give every grid in the set the same non-empty alignedGridGroup:

<SvGrid data={budget}  columns={budgetCols}  alignedGridGroup="finance" />
<SvGrid data={actuals} columns={actualCols} alignedGridGroup="finance" />

What syncs

Vertical scroll and selection stay independent (each grid owns its own rows).

Notes

See also