Pin first column on horizontal scroll
Live in demo 25-column-pinning.
When
Wide grids where the row-label column must stay visible while the data scrolls horizontally.
How
Key API surface:
api.setColumnPinning({ left: ['id'] })
See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.
See also
- Demo 25-column-pinning source
- Demo 25-column-pinning prompt sidecar - drop into an LLM context window
- Recipes index