Data Table
Typed hairline data table supporting tabular numeric columns, row selection, click handlers, and compact density.
Interactive DataTable (Selection & Density)
Click any row to highlight selection. Numeric columns automatically apply tabular numerals (.num).
Compact density (tight)
Selected row: d-2| Client | Channel | Status | Value |
|---|---|---|---|
ᲐᲚ ანა ლომიძეSaburtalo Tower #412 | Proposal | $142,000 | |
ᲚᲯ ლევან ჯავახიშვილიVake Park #204 | Telegram | Live Call | $218,500 |
ᲛᲙ მარიამ კაპანაძეBatumi Sea View #88 | Overdue | $96,400 | |
ᲒᲛ გიორგი მაისურაძეKrtsanisi Villa #14 | Phone | Waiting | $340,000 |
Empty Fallback State
| Client | Channel | Status | Value |
|---|---|---|---|
ᲐᲚ ანა ლომიძეSaburtalo Tower #412 | Proposal | $142,000 | |
ᲚᲯ ლევან ჯავახიშვილიVake Park #204 | Telegram | Live Call | $218,500 |
API Reference (Props)
| Name | Type | Default | Description |
|---|---|---|---|
| columns* | ReadonlyArray<DataTableColumn<T>> | — | Column definitions (`key`, `header`, `align`, `width`, `numeric`, `render`). |
| rows* | ReadonlyArray<T> | — | Array of row records to display. |
| selectedId | string | null | — | Highlights the matching row with `--app-tint`. |
| onRowClick | (row: T, index: number) => void | — | Makes rows clickable and fires with the clicked record. |
| tight | boolean | false | Enables compact row padding. |
| loading / loadingRows | boolean / number | false / 5 | Renders a column-matched `DataTableSkeleton` with `loadingRows` placeholder rows. |