Examples
Column Resizing Enabled Default On Change Grid
The grid layout, set with layoutMode="grid": columns stretch to fill the table width, and a drag resizes a column as you move.
Try it
- Point at the
First Nameheader. A thin line shows on its right edge. - Drag that line to the right.
First Namewidens as you drag. - Double-click the line. The column goes back to its default width.
Related guides
Column Resizing Enabled Default On Change RTL
The default table on a right-to-left page. columnResizeDirection="rtl" puts each resize handle on the left edge of its column.
Column Resizing Default On Change Grid With Individual Shrink
A grid layout where the ID column has grow: false, so it keeps its narrow width while the name columns fill the rest.