Data Table
FreeSortable, paginated table with row selection, badge cells and a loading skeleton — plus a search toolbar, column filters, inline editing, expandable rows and bulk actions. Pro adds the spreadsheet half: cell ranges with copy, paste and a fill handle, Find, column bands, merged cells, row numbers and a cell context menu — and `svGridAssist`, which asks the table for a view in plain words and shows the answer in the filter builder.
Complexity tier: Application The interactive bar, plus a stated data-volume ceiling, a persistence contract, a bundle budget and an accessible parity surface.
Dataset size: up to 200 rows rendered at once recommended, 2,000 maximum. Past ~200 rows set `pageSize` (the page is then the ceiling, and server-side paging takes any total), or turn on `virtualized` for up to 2,000 rows rendered at once; above that a dev-mode warning fires.
import { SvDataTableComponent } from '@styloviz/data-table';Demo & usage
Basic usage
Usage example — open the gallery for the full interactive demo.
An interactive demo for this component lives in the gallery.
Open live demoMore examples
Let a browser agent drive it (WebMCP)
<!-- svWebMcp from @styloviz/core registers orders_describe, orders_… — see /docs/webmcp --> <sv-data-table-pro svWebMcp="orders" [columns]="columns" [rows]="rows" [searchable]="true" [columnFilters]="true" [selectable]="true" /> <!-- tools: describe, sort, search, filter, clear_filters, select, rows, go_to_page -->
Searchable toolbar + bulk actions
<sv-data-table [rows]="rows" rowKey="id" [searchable]="true" [showToolbar]="true" [selectable]="true" [bulkActions]="bulkActions" [pageSize]="20" (rowClick)="open($event)" />
Server-side paging
<sv-data-table [rows]="pageRows" [serverSide]="true" [totalCount]="total" (queryChange)="load($event)" />
Grouped rows (Pro)
One collapsible header per distinct value of a column; groupBy replaces client pagination.
<sv-data-table-pro [columns]="columns" [rows]="orders" rowKey="id" groupBy="status" [defaultGroupsExpanded]="true" />
Transparent — inherit the container background (Pro)
<!-- Drops the table's own white fill so it blends into a glass card or coloured panel; keeps hover/selection tints. Pair with variant="borderless" so only the parent card's border shows. --> <div class="rounded-2xl border bg-white/70 p-1 isolate"> <sv-data-table-pro [columns]="columns" [rows]="rows" rowKey="id" [transparent]="true" variant="borderless" [paginated]="false" /> </div>
Custom cell templates (svDtCell, Pro)
<sv-data-table-pro [columns]="columns" [rows]="rows" rowKey="id"> <!-- Render any rich content per column, keyed by the column's `key`. --> <ng-template svDtCell="name" let-row let-value="value"> <sv-avatar [name]="row.name" size="xs" /> {{ value }} </ng-template> <ng-template svDtCell="status" let-row> <sv-badge [label]="row.status" [variant]="statusVariant(row.status)" /> </ng-template> </sv-data-table-pro>
Excel export in your currency (Pro)
`exportFormat` makes a column real numbers in Excel; `exportCurrency` names the currency of a `currency` column (its symbol and decimal places come from `Intl`, so JPY has none), and `exportNumberFormat` takes any Excel format code instead.
<!-- columns: { key: 'total', label: 'Total', exportFormat: 'currency', exportCurrency: 'EUR' }, { key: 'weight', label: 'Weight', exportFormat: 'decimal', exportNumberFormat: '0.000 "kg"' } --> <sv-data-table-pro [columns]="columns" [rows]="rows" [exportable]="true" [exportFormats]="['xlsx', 'csv']" />
Cell ranges — copy, paste and fill (Pro)
A block of cells copies out as text a spreadsheet reads; a paste or a fill arrives as one validated rangeEdit for the host to apply.
<sv-data-table-pro [columns]="columns" [rows]="rows()" rowKey="id" [cellSelection]="true" [contextMenu]="true" [rowNumbers]="true" [(cellRange)]="range" (rangeEdit)="apply($event)" />
Bands, merged cells and Find (Pro)
<!-- columns: { key: 'region', label: 'Region', mergeRepeated: true } --> <sv-data-table-pro [columns]="columns" [rows]="rows" rowKey="id" [columnBands]="[{ label: 'Q1', columns: ['jan', 'feb', 'mar'] }]" [findable]="true" />
Batch editing — undo, redo and save (Pro)
Edits, pastes and fills become a draft; Save sends one batchSave with a requestKey and a rollback().
<sv-data-table-pro [columns]="columns" [rows]="rows()" rowKey="id" [batchEdit]="true" [cellSelection]="true" [statusBar]="true" [saving]="saving()" [saveError]="saveError()" (batchSave)="save($event)" />
Set filter, filter builder and print (Pro)
<!-- columns: { key: 'stage', label: 'Stage', filterType: 'set', queryType: 'enum', filterOptions: stages } --> <sv-data-table-pro [columns]="columns" [rows]="rows" rowKey="id" [columnFilters]="true" [filterBuilder]="true" [printable]="true" [(setFilters)]="setFilters" [(filterQuery)]="query" />
Ask the table — svGridAssist (Pro)
A question becomes the filter builder's query, a sort and a highlight; the builder opens on it, and Undo puts the view back. The resolver gets the question, fields and columns — never a row.
<sv-data-table-pro [columns]="columns" [rows]="rows" rowKey="id" [(filterQuery)]="query" [(highlightQuery)]="highlight"> <!-- Default resolver: svGridAssistHeuristicResolver(), on the device. --> <ng-container svGridAssist [resolver]="askModel" [examples]="['Won deals over 20k, biggest first']" (assisted)="log($event)" (assistError)="report($event)" /> </sv-data-table-pro>
Compare products, transposed (Pro)
<!-- Transposes rows→columns: first column = product name, the rest become feature rows; boolean values render as check / cross. --> <sv-data-table-pro [columns]="columns" [rows]="products" rowKey="id" layout="comparison" highlightRowId="pro" />
When to use
Displaying structured rows that users sort, page, search, or select. You need selection, bulk actions, density toggles or column visibility. For unstructured/feed-style content, use List View instead. Up to ~200 rows: render them unpaged. Every row is in the DOM, so nothing needs configuring. 200 rows to ~10k, held in the browser: `paginated` (or `virtualized` for one continuous scroll). The client pipeline — search, filter, sort and windowing over the whole set — measures 0.5ms at 1k rows and 4.4ms at 10k, so a keystroke still lands inside one frame. 10k to ~25k: `virtualized` keeps rendering flat (the DOM holds `viewportHeight / virtualRowHeight` rows plus a small overscan no matter how large the set is — a 240-row table renders 13 `tr`s), but the pipeline is linear in row count and search is what runs it. Turn `searchable` off, or move to `serverSide`. Beyond ~25k rows: `serverSide`. The pipeline costs 21ms at 50k rows, so each keystroke drops a frame — and that is before the memory of holding the set client-side.
Compare with
- Permission Matrix — Permission Matrix is a fixed grid of roles × capabilities where every cell is an allow / deny / inherit decision, with grouped rows and a draft to save. Use Data Table for lists of records.
Async states
- loading
- empty
- error
- retry
- partial
Item identity & owned state
- Item key
rowKey— set this when your rows have noid, so selection survives a reorder.- Restorable state
- expandedRowIds
- hiddenColumnKeys
- recordExpandedIds
- revealedColumnKeys
- selectedIds
Bind these to put a saved view back — the open sections, the hidden columns, the selected rows — and read their
Changeevents to store what the user does.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| columns | TableColumn<T>[] | [] | Column definitions (key, header, alignment, optional cell template). |
| rows | readonly T[] | [] | The rows to render. `readonly` on purpose: the table never mutates this array, and anything that hands it one — a signal, a `computed`, `svDataController.items` — is handing over a value it still owns. A mutable `T[]` here rejected every one of those at the template boundary while promising a write the table does not perform. |
| rowKey | SvItemKey<T> | 'id' | What identifies a row: a property name, or a function for composite keys. Widened from `string` because a row identified by two fields — an order line keyed on `orderId` + `lineNo`, a matrix cell on `row` + `col` — had no way to say so, and the fallback silently keyed it on the whole row's JSON. See the identity contract on `resolveItemKey` in `@styloviz/core`. |
| selectable | boolean | false | Enable row selection. |
| selectMode | SelectMode | 'multi' | 'multi' = checkboxes, 'single' = radio buttons. |
| selectedIds | Set<string | number> (two-way) | new Set() | Selected row ids (two-way). |
| expandedRowIds | Set<string | number> (two-way) | new Set() | Which rows have their detail panel open (two-way). A `model` rather than internal state because it is the same kind of fact as `selectedIds`: a host restoring a table after a route change, or opening the row a deep link names, has to be able to write it — and one that persists layout has to be able to see it change. Held in a plain signal it was neither settable nor observable from outside. |
| actions | TableRowAction<T>[] | [] | Per-row action buttons. |
| bulkActions | BulkAction[] | [] | Bulk actions applied to selected rows. |
| loading | boolean | false | Show a loading state. |
| loadingStyle | LoadingStyle | 'skeleton' | 'skeleton' rows or full-table 'overlay' spinner. |
| skeletonRows | number | 5 | Number of skeleton rows while loading. |
| paginated | boolean | true | Enable client-side pagination. |
| pageSize | number (two-way) | 10 | Rows per page (two-way). |
| pageSizeOptions | number[] | [10, 25, 50] | Page-size options offered in the toolbar. |
| serverSide | boolean | false | Server-side mode: disables client filtering/sorting/paging. |
| totalCount | number | null | null | Total row count when in server-side mode. |
| variant | TableVariant | 'default' | Table style variant. |
| density | TableDensity | 'comfortable' | Row density: comfortable, compact, etc. |
| maxHeight | string | null | null | Max body height (CSS length) before the table scrolls. |
| showScrollHint | boolean | true | Show a hint when the table is horizontally scrollable. |
| rowClassFn | ((row: T) => string) | null | null | Callback returning extra Tailwind classes for a given row. |
| showToolbar | boolean | undefined | undefined | Show the toolbar strip. Left unset it is derived from whether the toolbar has anything to put in it: a `tableTitle`, or any control it holds — `searchable`, `showDensityToggle`, `showColumnToggle` or `exportable`. Set it explicitly to force the strip on (an empty bar as a spacer) or off (a title used only as the accessible name, or the controls dropped). |
| tableTitle | string | '' | Title shown in the toolbar. |
| searchable | boolean | false | Show a search box in the toolbar. |
| showColumnToggle | boolean | false | Show the column visibility toggle. |
| exportable | boolean | false | Show an export (CSV) control. |
| showDensityToggle | boolean | false | Show the density toggle. |
| columnFilters | boolean | false | Enable per-column filters. |
| multiSort | boolean | false | Allow sorting by multiple columns. |
| expandable | boolean | false | Enable expandable rows. |
| expandRender | ((row: T) => string) | null | null | Renderer for the expanded row detail. |
| showFooter | boolean | false | Show a table footer row. |
| responsive | DataTableResponsive | 'none' | What the table becomes when there is no room to be a table — see `DataTableResponsive`. `'none'` keeps the table and scrolls it sideways; `'cards'` shows a compact label/value card per row below the `sm` breakpoint; `'records'` shows a list of records below `recordBreakpoint`. |
| recordTitleKey | string | '' | `responsive="records"`: the column that titles each record. Empty uses the first shown column. |
| recordBreakpoint | number | 768 | `responsive="records"`: width below which the records replace the table, in px. |
| recordView | DataTableRecordView | 'auto' | `responsive="records"`: `'always'` shows the records at any width — a narrow panel on a wide screen. |
| recordExpandedIds | ReadonlySet<string | number> (two-way) | new Set() | `responsive="records"`: row keys whose secondary fields are open (two-way), keyed by `rowKey`, never by position, so a host can restore them. |
| emptyMessage | string | 'No data to display.' | Message shown when there are no rows. |
| customClass | string | '' | Extra CSS classes for the root element. |
| error | SvDataError | string | null | null | Load failure. Use `toSvDataError()` from `@styloviz/core` to normalize an `HttpErrorResponse`. Rendered in place of the rows, above the toolbar so the user can still change the filter that caused it. |
| debounceMs | number | 300 | Milliseconds typing in the search box or a text column filter waits before `queryChange` asks the server again (`serverSide` only). The rows on screen still filter on every keystroke; sorting, paging and clearing ask at once. `0` asks on every keystroke. |
| hiddenColumnKeys | Set<string> (two-way) | new Set() | Which columns the user has hidden (two-way). Bind it to restore a saved set of hidden columns, and read `(hiddenColumnKeysChange)` to store what the user changes. |
| revealedColumnKeys | ReadonlySet<string> (two-way) | new Set() | Columns declared `hidden: true` that the user has since shown from the Columns menu. A `hidden` column starts hidden and stays in the Columns menu, so the user can show it. Two-way, like `hiddenColumnKeys`: together the two ARE the column-visibility view, and a host that persists one without the other restores a table whose revealed columns have vanished again. |
Outputs
| Event | Payload type | Description |
|---|---|---|
| sortChange | SortState[] | Emitted with the new sort state when sorting changes. |
| selectionChange | Set<string | number> | Emitted with the set of selected row ids. |
| rowClick | T | Emitted with the clicked row. |
| cellClick | CellClickEvent<T> | Emitted with the clicked cell context. |
| editComplete | EditCompleteEvent<T> | Emitted when an inline cell edit completes. |
| retry | void | The host should re-run the failed load. |
| queryChange | SvDataQuery | Everything the user is asking to see, in the kit's shared shape. This is the output to wire in `serverSide` mode: one handler regardless of whether they paged, sorted, filtered or searched, and the same `SvDataQuery` every other component in the kit emits — so `@styloviz/data` and a hand-rolled fetch both take it without a translation layer. |
| rowExpand | T | Emitted with the row when the user expands or collapses its detail panel. |
| bulkActionClick | { action: BulkAction; selectedIds: Set<string | number> } | Emitted with the bulk action and the selected row ids. |
| selectedIdsChange | Set<string | number> | Emits the new `selectedIds` whenever it changes — the output half of `[(selectedIds)]`. |
| expandedRowIdsChange | Set<string | number> | Emits the new `expandedRowIds` whenever it changes — the output half of `[(expandedRowIds)]`. |
| pageSizeChange | number | Emits the new `pageSize` whenever it changes — the output half of `[(pageSize)]`. |
| recordExpandedIdsChange | ReadonlySet<string | number> | Emits the new `recordExpandedIds` whenever it changes — the output half of `[(recordExpandedIds)]`. |
| hiddenColumnKeysChange | Set<string> | Emits the new `hiddenColumnKeys` whenever it changes — the output half of `[(hiddenColumnKeys)]`. |
| revealedColumnKeysChange | ReadonlySet<string> | Emits the new `revealedColumnKeys` whenever it changes — the output half of `[(revealedColumnKeys)]`. |
<sv-data-table-pro>
Also in this family — SvDataTableProComponent from @styloviz-pro/data-table.
Async states
- loading
- empty
- error
- retry
- partial
Item identity & owned state
- Item key
rowKey— set this when your rows have noid, so selection survives a reorder.- Restorable state
- expandedRowIds
- hiddenColumnKeys
- recordExpandedIds
- revealedColumnKeys
- selectedIds
Bind these to put a saved view back — the open sections, the hidden columns, the selected rows — and read their
Changeevents to store what the user does.
Server writes
- Writes
- batchSave
Each payload carries a
requestKey— send it with the request so a retry cannot apply the same change twice.- Rollback
- Call
event.rollback()when the save fails — the change is already on screen, and this is what puts it back. - While saving
- Bind
saving— with two writes outstanding there is no single state to roll back to, so the action stays locked until the first one lands. - On failure
- Pass the failure to
saveErrorto show it in place — without taking away what the user was working on.
Saved state
- Stored kinds
- sv-data-table/layout
What you will find under your own storage key. You choose the key; the blob names its own
kindand schemaversion, so a component never reads state another one wrote.- Reading it back
- Restore through the component's own
restore…helper rather than casting the parsed JSON. A blob from an older release is migrated where it can be and refused with a reason where it cannot — so an upgrade never silently applies last month's shape to this month's fields.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| columns | TableColumn<T>[] | [] | Column definitions: key, label, alignment, and each column's sorting, filtering, rendering and editing options. |
| rows | readonly T[] | [] | The rows to render. `readonly` on purpose: the table never mutates this array, and anything that hands it one — a signal, a `computed`, `svDataController.items` — is handing over a value it still owns. A mutable `T[]` here rejected every one of those at the template boundary while promising a write the table does not perform. |
| rowKey | SvItemKey<T> | 'id' | What identifies a row: a property name, or a function for composite keys. Widened from `string` because a row identified by two fields — an order line keyed on `orderId` + `lineNo`, a matrix cell on `row` + `col` — had no way to say so, and the fallback silently keyed it on the whole row's JSON. See the identity contract on `resolveItemKey` in `@styloviz/core`. |
| selectable | boolean | false | Add a selection column of checkboxes (or radio buttons, per `selectMode`). |
| selectMode | SelectMode | 'multi' | 'multi' = checkboxes, 'single' = radio buttons. |
| selectedIds | Set<string | number> (two-way) | new Set() | Ids of the selected rows, as resolved by `rowKey` (two-way). |
| expandedRowIds | Set<string | number> (two-way) | new Set() | Which rows have their detail panel open (two-way). A `model` rather than internal state because it is the same kind of fact as `selectedIds`: a host restoring a table after a route change, or opening the row a deep link names, has to be able to write it — and one that persists layout has to be able to see it change. Held in a plain signal it was neither settable nor observable from outside. |
| actions | TableRowAction<T>[] | [] | Per-row actions, offered in a menu at the end of each row; an action's `hidden` callback can drop it for a given row. |
| bulkActions | BulkAction[] | [] | Actions shown in a bar above the table while any row is selected; each receives the selected ids and also emits `bulkActionClick`. |
| loading | boolean | false | Show the loading state (skeleton rows or an overlay spinner, per `loadingStyle`) and mark the table `aria-busy`. |
| loadingStyle | LoadingStyle | 'skeleton' | 'skeleton' rows or full-table 'overlay' spinner. |
| skeletonRows | number | 5 | Number of placeholder rows (and mobile cards) rendered while `loading` with the skeleton style. |
| paginated | boolean | true | Split rows into pages with a pagination bar. Has no effect when `virtualized` or `groupBy` is set. |
| pageSize | number (two-way) | 10 | Rows per page (two-way); also updated when the user picks a size in the pagination bar. |
| pageSizeOptions | number[] | [10, 25, 50] | Choices in the pagination bar's rows-per-page select; an empty array hides the select. |
| serverSide | boolean | false | Server-side mode: disables client filtering/sorting/paging. |
| totalCount | number | null | null | Total row count across all pages in `serverSide` mode, used for the range label and page count; falls back to `rows.length` when null. |
| virtualized | boolean | false | Windows row rendering to what's scrolled into view, using the same variable-height primitive (`createVariableVirtualizer`, `@styloviz/core`) `list-view` uses — a group header and a data row are different heights, so this table always needs the variable form, never the fixed one. Ignores `paginated`: virtualization and client pagination solve the same problem (a huge row set costing too much DOM), so turning this on reads as opting OUT of pagination rather than stacking both — the same relation `groupBy` has to pagination, and for the same reason. |
| virtualRowHeight | number | 44 | Approximate pixel height of one data row; the virtualized window is computed from it. Approximate, like `list-view`'s `itemHeight`: measure your own rendered row height for pixel accuracy. A wrong guess still renders every row correctly, with a slightly-off scrollbar length until the next scroll event corrects it. |
| virtualGroupRowHeight | number | 40 | Pixel height of a collapsible group header row, when `groupBy` is also set. |
| cardRowHeight | number | 96 | Pixel height of one `responsive="cards"` card; the card list is windowed from it, on the same `virtualized` switch as the table. A card is taller than a row and its height depends on how many columns are visible — a two-column grid of label/value pairs, so roughly `ceil(columns / 2) * 46 + 32`. Approximate for the same reason `virtualRowHeight` is: a wrong guess costs scrollbar accuracy, never correctness. |
| viewportHeight | number | 400 | Pixel height of the scrolling viewport when `virtualized` is on. A dedicated numeric input rather than reusing `maxHeight` — `maxHeight` accepts any CSS unit (`'50vh'`, `'none'`) that cannot be safely coerced to a pixel count, and the windowing math needs a real number to divide by. |
| groupBy | string | null | null | Column key to section rows by, with a collapsible header per distinct value. Single-level only — a deliberate scope line: nested/multi-level grouping (which parent collapses which children, aggregate-of-aggregates) is real complexity no showcase use case has asked for, and this shape is additive if a future version needs it. |
| defaultGroupsExpanded | boolean | true | Whether a group starts expanded or collapsed the first time it's seen. |
| variant | TableVariant | 'default' | Visual style: 'default', 'striped' (tinted alternate rows), 'bordered' (cell borders) or 'borderless' (no outer border or row dividers). |
| layout | TableLayout | 'default' | Layout mode. 'comparison' transposes rows into columns for a product-comparison grid. |
| highlightRowId | string | number | null | null | rowKey value of the product column to highlight as "recommended" in comparison layout. |
| transparent | boolean | false | Removes the table's own surface fill (root, toolbar, body and rows) so it inherits the background of its container — e.g. when nested inside a glass card or a coloured panel. Row hover/selection tints and the `striped` variant's odd-row tint are preserved. Also drops the card shadow. |
| density | TableDensity | 'comfortable' | Row padding and text size: 'compact', 'comfortable' or 'spacious'. A choice made in the density toggle overrides it. |
| maxHeight | string | null | null | Maximum height (any CSS length) of the table's scroll area before it scrolls vertically; ignored when `virtualized`, which uses `viewportHeight`. |
| showScrollHint | boolean | true | Show a fade gradient along the right edge hinting that the table scrolls horizontally. |
| rowClassFn | ((row: T) => string) | null | null | Callback returning extra Tailwind classes for a given row. |
| showToolbar | boolean | undefined | undefined | Show the toolbar strip. Left unset it is derived from whether the toolbar has anything to put in it: a `tableTitle`, or any control it holds — `searchable`, `showDensityToggle`, the Columns panel, `findable`, the filter builder, `printable`, or `exportable` with a format to offer. Set it explicitly to force the strip on (an empty bar as a spacer) or off (a title used only as the accessible name, or the controls dropped). Derived, it is also on for `reorderableColumns` / a resizable column: the Columns panel holds those drags' single-pointer alternatives (WCAG 2.5.7). Forcing it off removes them — keep the toolbar when either drag is on. |
| tableTitle | string | '' | Heading shown in the toolbar; also the table's accessible name and the title of Excel and PDF exports. |
| searchable | boolean | false | Show a toolbar search box that filters rows by text in any column (sent as `search` in `serverSide` mode). |
| showColumnToggle | boolean | false | Show a toolbar menu for hiding and showing columns. |
| exportable | boolean | false | Show a toolbar export control offering the formats in `exportFormats`. |
| exportFormats | readonly TableExportFormat[] | ['csv'] | Which formats the export control offers, in menu order. One format renders a plain button; more than one renders a menu. Defaults to CSV alone, so `[exportable]="true"` on its own offers a CSV button. Excel and PDF are opt-in: a table offers them only where the host asks (both load `@styloviz-pro/export` as a lazy chunk on first use, and a PDF with fonts set also loads its text shaper then). |
| exportFileName | string | '' | Base filename for exports, without extension. |
| showDensityToggle | boolean | false | Show a toolbar control that lets the user switch row density. |
| columnFilters | boolean | false | Add a filter row beneath the header with a text or select filter per column (per each column's `filterType`). |
| multiSort | boolean | false | Let Shift+click on a header add a secondary sort instead of replacing the current one. |
| resizableColumns | boolean | false | Allow users to drag column edges to resize; the toolbar's Columns panel also offers Narrow / Widen buttons (WCAG 2.5.7). |
| reorderableColumns | boolean | false | Allow users to drag headers (or Ctrl/Cmd+←/→) to reorder columns; the toolbar's Columns panel also offers Move left / Move right buttons (WCAG 2.5.7). |
| expandable | boolean | false | Add a toggle to each row that opens a detail panel beneath it. |
| expandRender | ((row: T) => string) | null | null | Returns the plain text shown in an expanded row's detail panel; when null, the panel lists every column's label and value. |
| showFooter | boolean | false | Show the summary footer row built from each column's `footerFn`; nothing renders unless at least one column defines one. |
| responsive | DataTableResponsive | 'none' | What the table becomes when there is no room to be a table — see `DataTableResponsive`. `'none'` keeps the table and scrolls it sideways; `'cards'` shows a compact label/value card per row below the `sm` breakpoint; `'records'` shows a list of records below `recordBreakpoint`. |
| recordTitleKey | string | '' | `responsive="records"`: the column that titles each record. Empty uses the first shown column. |
| recordBreakpoint | number | 768 | `responsive="records"`: width below which the records replace the table, in px. |
| recordView | DataTableRecordView | 'auto' | `responsive="records"`: `'always'` shows the records at any width — a narrow panel on a wide screen. |
| recordExpandedIds | ReadonlySet<string | number> (two-way) | new Set() | `responsive="records"`: row keys whose secondary fields are open (two-way), keyed by `rowKey`, never by position, so a host can restore them. |
| cellSelection | boolean | false | Select a block of cells: drag, Shift+click or Shift+arrows (Ctrl+A all, Shift+Space a row, Ctrl+Space a column); Ctrl/⌘+C copies it as text a spreadsheet reads, Ctrl/⌘+V pastes into it, the corner handle fills (Ctrl+D / Ctrl+R without the drag). The table becomes a `role="grid"`. Writes arrive as one `rangeEdit`; the table never changes `rows`. |
| cellRange | SvCellRange | null (two-way) | null | The selected block (two-way), by row key and column key. `null` with nothing selected. |
| contextMenu | boolean | false | Right-click (or Shift+F10 / the menu key) on a cell: copy, fill, export the selection, pin or hide the column. |
| findable | boolean | false | Find in the table — Ctrl/⌘+F inside it, or the toolbar's Find. Marks every match and walks them; unlike search, it hides nothing. |
| rowNumbers | boolean | false | A leading column numbering the rows through the whole list (page offsets included). |
| columnBands | readonly SvColumnBand[] | [] | Headings over runs of columns — a multi-level header. See `SvColumnBand`. |
| columnPins | Readonly<Record<string, SvColumnPin>> (two-way) | {} | Columns pinned from the context menu (two-way), over each column's own `pinned`: `'left'` / `'right'` (the inline start / end) or `'none'`. Saved with the layout as `columnPins`. |
| batchEdit | boolean | false | Edits, pastes and fills become an undoable draft (Ctrl/⌘+Z, Ctrl/⌘+Shift+Z) the table shows and marks, saved in one `batchSave` — instead of `editComplete` / `rangeEdit` per change. |
| saving | boolean | false | A `batchSave` is in flight: Save, Discard, Undo and Redo wait for it. |
| saveError | SvDataError | string | null | null | The last `batchSave` failed — shown on the batch bar. Call that save's `rollback()` too. |
| setFilters | Readonly<Record<string, readonly string[]>> (two-way) | {} | `filterType: 'set'` filters (two-way): column key → the values let through. Saved with the layout. |
| filterBuilder | boolean | false | A toolbar Filter builder — `@styloviz-pro/query-builder` over the columns (`queryType` per column). |
| filterQuery | SvQueryExpression | null (two-way) | null | The builder's AND/OR query (two-way) — store it with `svSerializeQuery`. `null` filters nothing. |
| highlightQuery | SvQueryExpression | null (two-way) | null | Rows to mark without hiding the rest (two-way), in the builder's query shape — `svGridAssist` sets it from "highlight …". `null` marks nothing. |
| statusBar | boolean | false | A bar under the table: the row count, or count / sum / average / min / max of the selected cells. |
| printable | boolean | false | A toolbar Print button; printing then shows every filtered row and none of the table's controls. |
| emptyMessage | string | 'No data to display.' | Text shown when there are no rows to display. |
| customClass | string | '' | Extra CSS classes appended to the root element. |
| error | SvDataError | string | null | null | Load failure. Use `toSvDataError()` from `@styloviz/core` to normalize an `HttpErrorResponse`. Rendered in place of the rows, above the toolbar so the user can still change the filter that caused it. |
| debounceMs | number | 300 | Milliseconds typing in the search box or a text column filter waits before `queryChange` asks the server again (`serverSide` only). The rows on screen still filter on every keystroke; sorting, paging and clearing ask at once. `0` asks on every keystroke. |
| hiddenColumnKeys | Set<string> (two-way) | new Set() | Which columns the user has hidden (two-way). Bind it to restore a saved set of hidden columns, and read `(hiddenColumnKeysChange)` to store what the user changes. |
| revealedColumnKeys | ReadonlySet<string> (two-way) | new Set() | Columns declared `hidden: true` that the user has since shown from the Columns menu. A `hidden` column starts hidden and stays in the Columns menu, so the user can show it. Two-way, like `hiddenColumnKeys`: together the two ARE the column-visibility view, and a host that persists one without the other restores a table whose revealed columns have vanished again. |
Outputs
| Event | Payload type | Description |
|---|---|---|
| sortChange | SortState[] | Emitted with the full list of active sorts (empty when cleared) whenever the user changes the sort. |
| selectionChange | Set<string | number> | Emitted with the new set of selected row ids whenever the user changes the selection. |
| rowClick | T | Emitted with the row when the user clicks a row or one of its cells, or activates it with Enter. |
| cellClick | CellClickEvent<T> | Emitted with the row, column and displayed value when the user clicks a cell; `rowClick` fires as well. |
| editComplete | EditCompleteEvent<T> | Emitted with the row, column, old and new value when an inline cell edit is committed with a valid, changed value, so the host can persist it. |
| rangeEdit | SvRangeEdit<T> | Many cells at once — a paste or a fill (`cellSelection`): every changed cell, validated, in one event to apply in one go. |
| batchSave | SvBatchSave<T> | `batchEdit`: the draft, saved. Apply `changes`, send `requestKey`, call `rollback()` if it fails. |
| unsavedChange | number | `batchEdit`: how many cells are unsaved, whenever that changes — for a leave-page guard. |
| retry | void | The host should re-run the failed load. |
| queryChange | SvDataQuery | Everything the user is asking to see, in the kit's shared shape. This is the output to wire in `serverSide` mode: one handler regardless of whether they paged, sorted, filtered or searched, and the same `SvDataQuery` every other component in the kit emits — so `@styloviz/data` and a hand-rolled fetch both take it without a translation layer. |
| rowExpand | T | Emitted with the row when the user expands or collapses its detail panel. |
| bulkActionClick | { action: BulkAction; selectedIds: Set<string | number> } | Emitted with the bulk action and a snapshot of the selected row ids when the user runs a bulk action. |
| columnResize | { key: string; width: number } | A column finished resizing (pointer drag or ←/→ on a focused handle) — emits the column key and its new pixel width, so a host can persist the layout. |
| columnOrderChange | string[] | Columns were reordered by drag — emits the full column-key order, left to right. |
| exportFailed | { format: TableExportFormat; error: Error } | An export failed: a chunk that could not load at click time (offline), a font that could not be read, or an `SvPdfTextError` for a letter no PDF font has. The host learns about it here rather than through an unhandled rejection and a button that appears to do nothing. |
| groupToggle | { key: string; collapsed: boolean } | A group was expanded or collapsed by the user, with its new state. |
| layoutStateChange | TableLayoutState | Fires whenever anything `TableLayoutState` describes changes — column order/width/visibility, sort, column filters, page size, or which groups are collapsed — so a host knows there is something new to save. Store `serializeLayoutState()` rather than this payload: the payload is the live shape, while the serialized form carries a kind and a schema version, and `restoreLayoutState()` can then say why it ignored a blob instead of applying one whose shape does not fit the current table. Does not fire for the state the table mounted with, only for a real change after that, so a host writing straight through to storage does not immediately re-save what it just loaded via `applyLayoutState`. |
| selectedIdsChange | Set<string | number> | Emits the new `selectedIds` whenever it changes — the output half of `[(selectedIds)]`. |
| expandedRowIdsChange | Set<string | number> | Emits the new `expandedRowIds` whenever it changes — the output half of `[(expandedRowIds)]`. |
| pageSizeChange | number | Emits the new `pageSize` whenever it changes — the output half of `[(pageSize)]`. |
| recordExpandedIdsChange | ReadonlySet<string | number> | Emits the new `recordExpandedIds` whenever it changes — the output half of `[(recordExpandedIds)]`. |
| cellRangeChange | SvCellRange | null | Emits the new `cellRange` whenever it changes — the output half of `[(cellRange)]`. |
| columnPinsChange | Readonly<Record<string, SvColumnPin>> | Emits the new `columnPins` whenever it changes — the output half of `[(columnPins)]`. |
| setFiltersChange | Readonly<Record<string, readonly string[]>> | Emits the new `setFilters` whenever it changes — the output half of `[(setFilters)]`. |
| filterQueryChange | SvQueryExpression | null | Emits the new `filterQuery` whenever it changes — the output half of `[(filterQuery)]`. |
| highlightQueryChange | SvQueryExpression | null | Emits the new `highlightQuery` whenever it changes — the output half of `[(highlightQuery)]`. |
| hiddenColumnKeysChange | Set<string> | Emits the new `hiddenColumnKeys` whenever it changes — the output half of `[(hiddenColumnKeys)]`. |
| revealedColumnKeysChange | ReadonlySet<string> | Emits the new `revealedColumnKeys` whenever it changes — the output half of `[(revealedColumnKeys)]`. |
Wire it to your API
This component is headless about transport: it renders what you give it and reports what the user asks for. Nothing below requires @styloviz/data — it just saves you writing the debounce, the request guard and the retry policy by hand.
Template
Bound to the names this component actually exposes.
<sv-data-table [serverSide]="true" [rows]="data.items()" [loading]="data.loading()" [error]="data.error()" [totalCount]="data.total()" (queryChange)="data.setQuery($event)" (retry)="data.reload()" />
Host class
One controller handles debounce, request-guarding, cancellation and retry.
import { svDataController, createHttpDataSource } from '@styloviz/data'; /** Your record type — whatever the endpoint returns per item. */ type Row = { readonly id: string }; readonly data = svDataController( createHttpDataSource<Row>({ url: '/api/rows' }), );
`queryChange` carries an `SvDataQuery` — page, page size, sorts, filters, search and cursor in one object. One handler covers every way the user can change what they are asking for. `serverSide` switches **off** the built-in filtering, sorting and paging. Leave it false and the component works entirely from the array you pass — which is what you want for a few hundred rows. `debounceMs` (default 300) collapses a burst of typing into one request. Set it to 0 only when the query is driven by clicks. Normalize failures with `toSvDataError()` from `@styloviz/core`. It derives `retryable` from the status, so a 404 does not get a "Try again" button that can only fail again.
Full walkthrough: Connecting to a backend.
Customization & theming
Pro: set `[transparent]="true"` to remove the table's own surface fill (root, toolbar, body and rows) so it inherits the background of a glass card or coloured panel — hover/selection and `striped` tints are preserved and the card shadow is dropped; pair with `variant="borderless"`. Pro: project rich cell content per column with the `svDtCell` directive: `<ng-template svDtCell="colKey" let-row let-value="value">…</ng-template>` (context exposes `$implicit` = row, `value`, `column`) — falls back to `col.render` text or a badge cell when no template is provided. Enable sorting, pagination, selection and bulk actions per table. Pro adds virtualization, row grouping, resizable and reorderable columns, `svDtCell` cell templates, export, the comparison layout and `transparent`. Pro: set `resizableColumns` to drag-resize columns (per-column `width` and `resizable` opt-out) and `reorderableColumns` to drag- or keyboard-reorder them; changes emit `columnResize` and `columnOrderChange`. Pro: set `layout="comparison"` to transpose the table into a Compare-Products grid: the first column supplies each product's name (becoming the column headers) and the remaining columns become feature rows, with boolean values rendered as check / cross icons; `highlightRowId` spotlights the recommended product column. **Feature compatibility.** `virtualized` and `groupBy` each replace client pagination rather than combining with it: both render the whole sorted set into one scroller and the pager is hidden, so a `pageSize` alongside either is ignored. **Feature compatibility.** `serverSide` turns the client pipeline off entirely — filtering, sorting and paging all pass `rows` through untouched, because the server already did them. There is no double filtering, and equally no client-side fallback: whatever you do not implement server-side does not happen. **Feature compatibility.** `serverSide` composes with `groupBy`, but it groups only the page the server sent — a group header reads as a section of this page, not of the dataset. **Feature compatibility.** `footerFn`, export and selection all operate on rows in hand. Client-side that is the filtered set; in `serverSide` mode it is the current page, so a footer "Total" is a page total and a select-all selects the page. **Feature compatibility.** `layout="comparison"` is a separate rendering path: toolbar, filters, pagination, selection, virtualization, grouping and the footer row do not apply to it. Use it for a fixed handful of products, not as a table mode to toggle. Pro: `cellSelection` turns the body into a spreadsheet — a block of cells that follows the cell cursor (two-way `cellRange`, by row key and column key), Ctrl/⌘+C copies it as tab-separated text plus an HTML table, Ctrl/⌘+V pastes a block (one value fills the selection; a block that fits a whole number of times repeats), and the corner handle fills — a series when two or more numbers step evenly, otherwise a repeat. Ctrl+D / Ctrl+R and the menu's Fill down / right / series do the same without a drag. Pro: a paste or a fill emits ONE `rangeEdit` — `{ source, changes, rejected }`, `changes` in `editComplete`'s shape, each validated by its column — and never writes `rows`. Non-`editable` columns and `validate` refusals land in `rejected` and are announced. Pro: `findable` adds Find (toolbar button or Ctrl/⌘+F inside the table) — it marks and walks matches across the filtered, sorted set, turning pages, opening groups and scrolling a virtualized window to each; it hides nothing, unlike `searchable`. Pro: `columnBands` draws headings over runs of columns (bands nest); `mergeRepeated` on a column folds equal neighbours into one cell, and `colSpan(row)` runs a row's cell across the columns after it; `rowNumbers` adds a numbering column (page offsets included). Pro: `contextMenu` adds a right-click / Shift+F10 menu on cells — Copy, Copy with headers, the fills, Export selection as CSV, pin to the start or end (two-way `columnPins`, saved in the layout state) and Hide (offered only with `showColumnToggle`, so a hidden column can come back). A pinned column moves to its edge, and several pinned columns sit side by side. **Feature compatibility.** Merged cells (`mergeRepeated`, `colSpan`) need every row of a run rendered, so they are not drawn while `virtualized` or `groupBy` is set. A range, a paste and Ctrl+A cover the rows on screen — the page when paginated. Pro: `batchEdit` makes every edit — a typed cell, a paste, a fill — a draft the table shows and flags (a corner mark, and "unsaved" for a screen reader) instead of an `editComplete` / `rangeEdit`. Undo / Redo on the batch bar and Ctrl/⌘+Z, Ctrl/⌘+Shift+Z (Ctrl+Y) inside the table step whole edits back and forth; typing a cell back to its saved value stops it being a change; `unsavedChange` reports the count for a leave-page guard. Pro: Save emits ONE `batchSave` — `{ changes, requestKey, rollback }`, `changes` in `editComplete`'s shape against the rows as the host holds them now. It is the kit's optimistic write (`createOptimisticEdit`): the saved values stay on screen (flagged "saving") until the host binds rows that carry them or lowers `saving`; `rollback()` puts the batch back into the draft, keeping any cell edited again since; a rollback from an older save is refused. `[saving]` locks Save, Discard, Undo and Redo; `[saveError]` shows on the bar. Pro: `filterType: 'set'` is an Excel-style checkbox filter in the filter row (needs `columnFilters`) — every value of the column (or its `filterOptions`, which a `serverSide` table should declare), a search, Select all and (Blanks), in a body-portaled panel. The state is the two-way `setFilters` (column key → values let through; an empty list lets nothing through), saved as `setFilters` in the layout state, with a chip per column. Pro: `filterBuilder` adds a toolbar Filter builder — `@styloviz-pro/query-builder` over the columns, `queryType` per column (`'string'` by default, `'number'`, `'date'`, `'enum'` from `filterOptions`, `'boolean'`, or `'none'` to leave it out). The query is the builder's own `SvQueryExpression` in the two-way `filterQuery`: store it with `svSerializeQuery`, read it back with `svParseQuery`. Client-side the table evaluates `svQueryToPredicate`'s result (`svRowMatchesPredicate` is exported); an unfinished rule filters nothing. In `serverSide` mode the table filters nothing itself — read `setFilters` and `filterQuery` in your `queryChange` handler (each change asks again) and translate the query with `svQueryToPredicate`. Pro: `statusBar` adds a bar under the table — the row count, or for a selected block Count, Sum, Average, Min and Max of its numbers. It reads row values (and drafts), never the formatted text, so a `render` that adds a currency sign does not break the sum. Pro: `printable` adds a Print button. While the page prints — from the button or Ctrl/⌘+P — the table renders every row that survived the filters and the sort (not the page, not a virtualized window; a `serverSide` table prints the page it holds), hides the toolbar, filter row, pager, checkboxes and row menus, repeats the header on each sheet and keeps each row whole. The controls are hidden by `print:` utilities, so a table without `printable` still prints its page without chrome. Pro: `svGridAssist` — a content child, the shape of `svSelectSearch` — puts an "Ask the table" bar over the table. A resolver (`SvGridAssistResolver`: the prompt, the builder's fields, the columns and the current view in, `{ filter, sort, highlight, explanation }` out; the default `svGridAssistHeuristicResolver()` reads English on the device) answers with the builder's own `SvQueryExpression`. The table checks it against the fields — unknown columns, an operator the type cannot take, a value outside an enum, an unsortable sort are dropped and reported in `(assisted).skipped` — and writes it through `[(filterQuery)]` (the builder opens on it; `[showQuery]="false"` keeps it closed), `sortChange` and the new two-way `highlightQuery`, so a `serverSide` table hears the usual `queryChange`. One request at a time: asking again or Cancel aborts the one in flight (pass `request.signal` to `fetch`). A failure shows Try again; Undo restores the filter, sort and highlight from before the answer. `[examples]` adds one-click questions; `[maxLength]` caps the prompt (300). Pro: `highlightQuery` marks the rows a query matches without hiding the rest — a tint and a bar on the leading edge — and works with or without `svGridAssist`; its chip clears it. **Feature compatibility.** `responsive="cards"` windows on its own `cardRowHeight` under `virtualized`, and deliberately does not group — a collapsible header spanning a card list has no column structure to summarise. Size it to roughly `ceil(visibleColumns / 2) * 46 + 32`px. Pro: PDF export in every language. The PDF's built-in font draws Western European text only. For other languages, give `provideSvPdfFont()` from `@styloviz-pro/export` one TrueType font per script your data holds, as a list: each letter is drawn with the first font that has it. Text is laid out as the browser lays it out — joined and reordered scripts (Arabic, Bengali, Hindi, Tamil, Thai, …), right-to-left text and mixed directions — and only the glyphs drawn are embedded. A letter no font has stops the export with an `SvPdfTextError` on `exportFailed`, naming the character, its row and its column. The text shaper (the kit's own, about 47 kB gzipped) loads when a PDF with fonts is exported. A script it does not lay out (Khmer, Myanmar, Tibetan, Sinhala, Mongolian, Syriac, N'Ko and the like) stops the export with an `SvPdfTextError` that names the script; export those tables to Excel or CSV. Long text wraps, the header repeats on each page, pages are numbered, the file is tagged for screen readers, and a raw number in a column with a numeric `exportFormat` is written as Excel shows it. Excel and CSV export handle every language without a font.
Best practices
Do: Set a stable `rowKey` so selection and row tracking survive re-renders. Do: Switch to `serverSide` past ~25k rows, or sooner when the server already owns the filtering — up to ~10k the client pipeline keeps up, and 10k–25k wants `virtualized`. Don't: Don't render hundreds of unpaged rows — enable `paginated` or virtualize. Do: In `serverSide` mode, guard every response with `acceptsResponse(event.requestId)` before applying it. The table renders what the server sent verbatim, so if a slower request lands second the rows and the header disagree and nothing in your own code looks wrong. Do: Give an `editable` column a `validate` function. It runs on each keystroke and again on commit, so the message shows while the offending text is still on screen, and an invalid value never reaches `editComplete`. Do: With `batchEdit`, bind `[saving]` while a `batchSave` is out and call that save's own `rollback()` when it fails: the lock keeps one save outstanding, so the rollback has exactly one previous state to restore — and it restores the edits as unsaved, so nothing the user typed is lost. Do: With `svGridAssist`, give every column a `queryType` it can be asked about and `sortable` where it sorts: the resolver only sees what the builder can filter, and an answer naming anything else is dropped (and listed in `skipped`) rather than filtering on something the user cannot see. Don't: Don't send rows to a model to answer "Ask the table" — the resolver is asked for a query, not for rows, so the data never leaves the page and the answer is checkable in the builder. Don't: Don't read a `footerFn` total as a dataset total in `serverSide` mode — it sums the page the server sent. The same applies to export and to selection: both act on rows in hand. Ask the server for the aggregate instead.
Accessibility
Keyboard at scale: the free table is paginated by default, so its page size is the ceiling. In every layout the rows are ONE tab stop: ↑/↓, Home/End and PageUp/PageDown move the cursor (in Pro also typeahead over the first column, and under `virtualized` across the whole dataset, scrolling the window to it); Enter or Space activates the row, and keys from a control inside the row keep their own meaning. → steps into the row's cells: ←/→ and Home/End move along it, ↑/↓ keep the column, ← from the first cell returns to the row; Enter or Space on a cell emits `cellClick` (then `rowClick`, as a click does), and F2 on an `editable` cell opens the editor — Enter saves, Escape cancels, and either puts the cursor back on the cell. Documented ceiling: 2,000 rows rendered at once with neither pagination nor `virtualized` — past it a dev-mode warning fires. Focus after a mutation: if the row holding focus leaves the rendered set — a filter it does not match, a host refresh, a delete — focus moves to the same control in the row now at its index, then the row before it, then the table's scroller, and a polite announcement says the row is not shown. Native table semantics with scoped headers and an accessible table name from `tableTitle`. Sortable headers are focusable and operable with Enter/Space, exposing `aria-sort` state. Resize handles are focusable separators (`role="separator"`) adjustable with ←/→; reorderable columns move from the keyboard with Ctrl/Cmd + ←/→ on a focused header. Selection, pagination and row actions are keyboard reachable; open menus close on Escape. Loading regions set `aria-busy`; row-action and export menus are the shared `sv-dropdown-menu`, portaled to the body so no scroll container clips them, with `role="menu"`/`menuitem`. Pro, `cellSelection`: the table becomes a `role="grid"` with `aria-multiselectable`, and every cell says `aria-selected`. Shift+arrows grow the block (Ctrl adds a jump to the edge), Ctrl+A selects all, Shift+Space a row, Ctrl+Space a column, and each change of size is announced ("3 rows by 2 columns selected"). A paste or fill announces what changed and what was refused. The fill handle and the range outline are decorative; their drag has Ctrl+D / Ctrl+R and the menu's Fill series as keyboard and single-pointer twins (WCAG 2.5.7). Pro, Find: the field is a labelled `role="search"` region; "4 of 12" is a status line, and stepping announces where the match is ("4 of 12: Customer, Acme Corp"). Escape closes it with focus on the match in view, or back on the Find button. Pro, `contextMenu`: Shift+F10 or the menu key opens it on the focused cell; it is named for what it acts on ("Actions for Revenue, row 4"), and closing returns focus to the cell. Editors, links and inputs keep the browser's own menu. Pro, merged cells: a merged cell is one stop for the cell cursor — the arrows step over the positions it covers, and moving onto a covered position lands on the cell that covers it. Pro, `batchEdit`: a staged cell reads its value then "unsaved" (or "saving"); the flag is a shape in the corner, not only a colour. The batch bar is a named group whose buttons say what they do; undo, redo, save, discard and a failed save that comes back are announced ("Undid the change to 3 cells."). A save error is an alert on the bar. Pro, set filter: the filter-row button names its column and its state ("Filter Stage by value: 2 of 5"); the panel is a dialog that takes focus, with a labelled search, a tri-state Select all and a checkbox per value, and Escape returns focus to the button. Pro, `svGridAssist`: the ask bar is a labelled `role="search"` form; Enter asks, Escape cancels a request in flight, and the field is `aria-busy` while it runs. "Working out the view…", the answer's summary ("View updated. Filter: 2 conditions. Sorted by Amount, descending"), Cancelled, View restored and a failure (assertive) are announced; the visible status line is not a second live region. A highlighted row reads "Highlighted" before its first cell, and its mark is a bar as well as a tint — never colour alone. Pro, status bar: a named group that is deliberately not live — it changes with every cell the cursor crosses, and speaking each would drown the cells themselves. Under `virtualized`, the table declares `aria-rowcount` and stamps every rendered row with its true `aria-rowindex`, so a screen reader announces "row 140 of 241" rather than the size of the window. Header rows, the column-filter row, group headers, expanded detail rows and the footer row all take their place in that numbering; the spacer rows are `aria-hidden` and unnumbered. Both attributes are omitted whenever every row is already in the DOM, so the browser's own count stands and cannot be contradicted. A `validate` failure marks the editor `aria-invalid` and points `aria-describedby` at the message, which is also a polite live region — described-by covers arriving at the field, the live region covers an error appearing under a cursor already in it. Enter and blur refuse to commit while it stands; Escape always discards.
Feedback on Data Table
Spotted a gap in this page, or something that didn't work as described? Comments are GitHub Discussions in the public styloviz/community repo, so posting needs a GitHub account.