scrollToColumn API with pinned awareness
scrollToColumn brings a column into the horizontal viewport with alignment options. It accounts for pinned panes reducing the usable center width. Pinned target columns are always visible, so the call resolves immediately.
Planned. This page shows the specification from issue #183. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
500 columns with left and right pinned columns, and a dropdown listing all columns.
Expected behavior
Center columns scroll so the target aligns within the center pane, not hidden under the pinned panes. Pinned targets resolve without scrolling.
Planned API surface
scrollToColumn(colId, {align, behavior})onScrollToCompleteAcceptance criteria
- With align=start, the target's left edge equals the right edge of the left pinned pane, within 1px. (pending)
- A column wider than the center pane aligns its start edge. (pending)
- Hidden columns reject with a typed error. (pending)
- In RTL mode, alignment semantics follow the logical start and end (see F25). (pending)