Cross-Grid Scroll Synchronization
Synchronizes vertical and/or horizontal scrolling between grids in a sync group. Rows can be aligned by row key or by pixel offset. This makes it easy to compare datasets side by side.
Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Two grids with 1,000 rows each share row keys. Vertical scroll sync is enabled in rowKey mode.
Expected behavior
Scrolling either grid keeps the same row key at the top of both grids. In pixel mode, scroll offsets match exactly. Scrolling produces no feedback loop and no visible jitter.
Planned API surface
syncOptions.scrollscrollSyncMode: 'pixel'|'rowKey'scrollAxisscrollChangedAcceptance criteria
- A scroll change in one grid is applied to its peers within one animation frame (pending)
- rowKey mode keeps the top visible key equal in both grids when the key exists in both (pending)
- A key missing from a peer aligns that peer to the nearest following key (pending)
- Synchronized scrolling does not re-emit scrollChanged on the peer as a user action (pending)