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

Usage

Call useTableSortable with a config object containing sort state and callback. Pass the returned plugin to Table via the plugins prop.
ts
import { Table } from '@astryx-svelte/core';

Examples

Common configurations, variations, and states.
Table — Sortable Columns
Table with sortable columns, click headers to sort ascending or descending.