Tables
Sorting, pagination, selection and bulk actions.
DataTable
Client-side sorting, columns that reorder by dragging a header (or Alt+Left/Right on it), cell slots, a first load that waits to learn whether rows exist (spinner, then skeleton rows once rowsExpected), empty state, row selection, and row actions: two or more open from a menu.
| Actions | ||||||
|---|---|---|---|---|---|---|
| INV-1046 | H Hooli | pending | Sep 10, 2026 | $15,000.00 | ||
| INV-1045 | U Umbrella | paid | Sep 2, 2026 | $310.00 | ||
| INV-1043 | G Globex | pending | Aug 12, 2026 | $480.50 | ||
| INV-1042 | AC Acme Corp | paid | Aug 1, 2026 | $1,250.00 | ||
| INV-1044 | I Initech | overdue | Jul 20, 2026 | $9,200.00 |
Selection and bulk actions
Select-all affects eligible rows on this page. Selections remain when filtering, paging or refreshing. Locked rows cannot be selected.
| Status | ||
|---|---|---|
| apps/api | Active | |
| apps/worker | Active | |
| platform/system | Locked |
Paged DataTable
pageSize slices client-side; DataTablePagination in the #footer slot adds the range summary, page size select and controls inside the table frame. Compact prev/next on mobile. A single row action stays an icon button.
| Actions | |||||
|---|---|---|---|---|---|
| INV-2056 | Acme Corp | overdue | Aug 13, 2026 | $5,168.00 | Download PDF |
| INV-2055 | Wonka | pending | Aug 9, 2026 | $4,435.00 | Download PDF |
| INV-2054 | Wayne | paid | Aug 5, 2026 | $3,702.00 | Download PDF |
| INV-2053 | Stark | overdue | Aug 1, 2026 | $2,969.00 | Download PDF |
| INV-2052 | Hooli | pending | Jul 28, 2026 | $2,236.00 | Download PDF |
| INV-2051 | Umbrella | paid | Jul 24, 2026 | $1,503.00 | Download PDF |
| INV-2050 | Initech | overdue | Jul 20, 2026 | $770.00 | Download PDF |
| INV-2049 | Globex | pending | Jul 16, 2026 | $9,037.00 | Download PDF |
| INV-2048 | Acme Corp | paid | Jul 12, 2026 | $8,304.00 | Download PDF |
| INV-2047 | Wonka | overdue | Jul 8, 2026 | $7,571.00 | Download PDF |
DataTable in a card
The usual home for a list: a Card header with actions over a bleed DataTable. Outer cells line up with the card padding and the pagination footer sits on the card's bottom edge.
Invoices
57 invoices issued this year
| Actions | ||||||
|---|---|---|---|---|---|---|
| INV-2056 | AC Acme Corp | overdue | Aug 13, 2026 | $5,168.00 | ||
| INV-2055 | W Wonka | pending | Aug 9, 2026 | $4,435.00 | ||
| INV-2054 | W Wayne | paid | Aug 5, 2026 | $3,702.00 | ||
| INV-2053 | S Stark | overdue | Aug 1, 2026 | $2,969.00 | ||
| INV-2052 | H Hooli | pending | Jul 28, 2026 | $2,236.00 | ||
| INV-2051 | U Umbrella | paid | Jul 24, 2026 | $1,503.00 | ||
| INV-2050 | I Initech | overdue | Jul 20, 2026 | $770.00 | ||
| INV-2049 | G Globex | pending | Jul 16, 2026 | $9,037.00 | ||
| INV-2048 | AC Acme Corp | paid | Jul 12, 2026 | $8,304.00 | ||
| INV-2047 | W Wonka | overdue | Jul 8, 2026 | $7,571.00 |
Pagination
Standalone; showFirstLast adds jump buttons, compact collapses to prev/next.
Table (composed)
| Invoice | Customer | Amount |
|---|---|---|
| INV-1042 | Acme Corp | $1,250.00 |
| INV-1043 | Globex | $480.50 |
| INV-1044 | Initech | $9,200.00 |
| INV-1045 | Umbrella | $310.00 |
| INV-1046 | Hooli | $15,000.00 |
| Total | $26,240.50 | |