useTableColumnResize @astryx-svelte/core v0.3.0 · Table

Usage

Hook that returns a TablePlugin adding draggable resize handles to column header borders. Supports pointer + keyboard (WAI-ARIA window splitter) resizing, RTL, per-column min/max widths, and proportional-column preservation (resizes the neighbor so the table stays full-width). Commits widths on release.
ts
import { Table } from '@astryx-svelte/core';

Examples

Common configurations, variations, and states.
useTableColumnResize — Draggable Columns
A Table using useTableColumnResize. Drag the right edge of any column header to resize; widths are committed on release. The last proportional column flexes to fill remaining space.