useTableStickyColumns @astryx-svelte/core v0.3.0 · Table
Usage
Hook that returns a TablePlugin which pins a contiguous run of columns to the start and/or end edge of the table. Pinned columns get cumulative offsets and a soft, scroll-aware shadow over the scrolling content. An empty config ({}) is a valid no-op that pins nothing.tsimport { Table } from '@astryx-svelte/core';
Examples
Common configurations, variations, and states.useTableStickyColumns — Pinned Columns
A Table using useTableStickyColumns to pin the Name column to the start edge and Status to the end edge. Scroll horizontally; pinned columns stay in view with a soft shadow over the scrolling content.