name | string | — | Persistence key for useTablePreferences. Not an accessible table name. |
|---|
cols | Col<T>[] | — | Column definitions from createColumns. |
|---|
rows | T[] | — | Data array. Each element renders one row. |
|---|
loading | boolean | false | Replaces rows with animated skeleton cells. |
|---|
loadingMore | boolean | false | Shows a pulse footer bar for infinite scroll. |
|---|
operations | boolean | true | Toggles the metadata bar (bulk filter, sort, group controls). |
|---|
inlineFilter | boolean | true | Enables per-column filter dropdowns in the header row. |
|---|
inlineSorter | boolean | true | Enables per-column sort toggles in the header row. |
|---|
sticky | number | null | — | Header top offset in px. null omits it; CSS still sticks the desktop header. |
|---|
Aside | React.FC<CellAsideElement<T>> | — | Row actions before the first cell value. Rendered only with explicit loading={false}. |
|---|
pagination | TablePagination | — | Pagination config. Shows a footer with page controls. |
|---|
reference | keyof T | — | Row id field for selectable. Not used to key virtual rows. |
|---|
useControl | boolean | false | When true, disables internal filtering and sorting. |
|---|
onScrollEnd | () => void | — | Called when the end sentinel intersects while loadingMore is true. |
|---|
getScrollRef | () => HTMLElement | undefined | — | Custom scroll container instead of window. |
|---|
getRowProps | (row: T) => ComponentProps<"tr"> | — | Per-row <tr> props (e.g., onClick, className). |
|---|
set | (v: TableGetters<T>) => void | — | Called whenever internal table state changes. |
|---|
border | boolean | false | Column dividers in header and body at ≥768px. Default: horizontal dividers only. |
|---|
selectable | boolean | false | Adds a checkbox column with select-all. Needs reference; without it, no column and one dev console.error. |
|---|
selected | Array<T[keyof T]> | — | Controlled selection: reference values of selected rows. undefined keeps internal selection. |
|---|
onSelectionChange | (ids: Array<T[keyof T]>, rows: T[]) => void | — | Receives the full new id list and the matching row objects from rows. |
|---|