A data-driven table with inline sparklines and meters.
import { DataTable } from '@oztix/roadie-components/data-table'
Narrow the table and lower-priority columns hide behind Show all columns first. The pinned show column always stays visible.
priority so it hides first as the card narrows. Columns without one always show.pin: true so it stays put when the table scrolls horizontally.caption names the table for screen readers, even though it renders visually hidden.aria-sort, and getSortHref renders header links, so sorting works without JavaScript.Accessible name for the table.
Defaults to (_, index) => String(index).
Makes headers sortable. The server returns rows in the new order.
Defaults to Show all columns.
Plain numbers only, for a chart's table view.
Defaults to false.