Skip to main content
Column layout is part of the view. The schema sets the defaults, and every change a user makes is stored in view.columns as order, width, flex, hidden and pin.

Column options

schema.ts
Bands cover the scrolling columns only.

In the grid

Under dir="rtl" the start side is on the right, and the menu labels follow it. See RTL.

From code

layout.ts
Layout changes do not reload the grid.

Computing the layout

layoutColumns(view, schema, available?) returns the visible columns with their final widths, split into left, center and right. With available, flex columns grow into the spare width, clamped by maxWidth. grid.layout(available?) caches the same result, and useColumnLayout(grid, available?) reads it in React. Pinned rows are stored in view.pinnedRows and render above the other rows, in the order the source returned them.