@umriss-ui/table 0.41.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/llms-full.md CHANGED
@@ -1,8 +1,8 @@
1
- # @umriss-ui/table 0.41.0
1
+ # @umriss-ui/table 0.42.0
2
2
 
3
3
  > React data table for data-dense applications - sorting, filtering, grouping, aggregates, virtualisation. Declared the way it reads: columns as JSX, typed against their rows.
4
4
 
5
- Install with `npm install @umriss-ui/table @umriss-ui/core`. This text is generated from the package's demo (https://romanhaendler.github.io/umriss-ui/table/): every page with its import line, its examples - the source exactly as it runs, with the package name where the demo imports its own source - its props tables generated from the code, and what it deliberately does not do. The pages index stands in https://romanhaendler.github.io/umriss-ui/table/llms.txt.
5
+ Install with `npm install @umriss-ui/table @umriss-ui/core`. This text is generated from the package's demo: every page with its import line, its examples - the source exactly as it runs, with the package name where the demo imports its own source - its props tables generated from the code, and what it deliberately does not do.
6
6
 
7
7
  ## Scenarios
8
8
 
@@ -897,8 +897,6 @@ import { useTable } from "@umriss-ui/table";
897
897
  npm install @umriss-ui/table @umriss-ui/core
898
898
  ```
899
899
 
900
- Demo page: https://romanhaendler.github.io/umriss-ui/table/installation/
901
-
902
900
  The command brings the core package along, a peer dependency: the table reads its provider, its formats and its wording ([ADR-0016](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0016-the-table-is-a-package-that-depends-on-ui.md)). React 19 or newer is a peer as well and stays the application's own.
903
901
 
904
902
  There is no stylesheet to import. The table loads its own, and the core package loads the tokens it reads; both lie in cascade layers, so the application's CSS wins. `@umriss-ui/table/styles.css` stays exported for setups that link stylesheets by hand.
@@ -909,7 +907,7 @@ A table is read by default: a native table, where every control is one Tab away
909
907
 
910
908
  ##### A first table
911
909
 
912
- [`useTable`](#/api/useTable) binds the row kind once; its `Column` offers exactly the fields a person has, and `rowKey` names each row.
910
+ [`useTable`](#api-index-1) binds the row kind once; its `Column` offers exactly the fields a person has, and `rowKey` names each row.
913
911
 
914
912
  ```tsx
915
913
  import { useTable } from "@umriss-ui/table";
@@ -946,40 +944,40 @@ export default function FirstTable() {
946
944
 
947
945
  #### Keyboard
948
946
 
949
- The keys of [First table](#/first-table/keyboard-first-table) apply here.
947
+ The keys of [First table](#first-table) apply here.
950
948
 
951
949
  #### Props on this page
952
950
 
953
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
951
+ From `TableProps` — the full table stands on [First table](#first-table).
954
952
 
955
953
  | Prop | Type | Default | Description |
956
954
  |---|---|---|---|
957
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
955
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
958
956
 
959
957
  ###### Accessibility
960
958
 
961
959
  | Prop | Type | Default | Description |
962
960
  |---|---|---|---|
963
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
961
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
964
962
 
965
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
963
+ From `TableOptions` — the full table stands on [First table](#first-table).
966
964
 
967
965
  | Prop | Type | Default | Description |
968
966
  |---|---|---|---|
969
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
967
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
970
968
 
971
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
969
+ From `FieldColumn` — the full table stands on [Column](#column).
972
970
 
973
971
  | Prop | Type | Default | Description |
974
972
  |---|---|---|---|
975
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
973
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
976
974
 
977
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
975
+ From `ColumnBase` — the full table stands on [Column](#column).
978
976
 
979
977
  | Prop | Type | Default | Description |
980
978
  |---|---|---|---|
981
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
982
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
979
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
980
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
983
981
 
984
982
  ### First table
985
983
 
@@ -989,9 +987,7 @@ Rows of records to scan, sort, search and select (also called a data table or da
989
987
  import { useTable } from "@umriss-ui/table";
990
988
  ```
991
989
 
992
- Demo page: https://romanhaendler.github.io/umriss-ui/table/first-table/
993
-
994
- [`useTable`](#/api/useTable) takes the rows and hands back the `Table` and the `Column` that belong to them, so a column can only name a field the row has. The parts that touch no row, such as `Toolbar` or `Search`, are ordinary imports.
990
+ [`useTable`](#api-index-1) takes the rows and hands back the `Table` and the `Column` that belong to them, so a column can only name a field the row has. The parts that touch no row, such as `Toolbar` or `Search`, are ordinary imports.
995
991
 
996
992
  Every option of the hook and every prop of the table stands in the tables below; each feature has a page of its own in the sidebar.
997
993
 
@@ -999,7 +995,7 @@ Every option of the hook and every prop of the table stands in the tables below;
999
995
 
1000
996
  ##### Show a list of services
1001
997
 
1002
- Pass the rows to [`useTable`](#/api/useTable) and declare a `Column` per field; `rowHeader` names the row, and numbers align right and sort by value.
998
+ Pass the rows to [`useTable`](#api-index-1) and declare a `Column` per field; `rowHeader` names the row, and numbers align right and sort by value.
1003
999
 
1004
1000
  ```tsx
1005
1001
  import { useTable } from "@umriss-ui/table";
@@ -1257,109 +1253,109 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
1257
1253
 
1258
1254
  | Prop | Type | Default | Description |
1259
1255
  |---|---|---|---|
1260
- | `selectable` | `boolean` | — | Adds the selection column. "All" means: the filtered set.<br>Shown in: [Name the row (Column)](#/column/row-header), [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Keep the header and the names in view (Width and pinning)](#/width-and-pinning/sticky-parts) and 14 more |
1261
- | `stickyHeader` | `boolean` | — | Keeps the header row visible while scrolling.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#/width-and-pinning/sticky-parts), [Fold groups into a summary (Grouping)](#/grouping/the-overview), [Group twenty thousand rows (Grouping)](#/grouping/twenty-thousand-rows) and 4 more |
1262
- | `stickyRowHeader` | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#/width-and-pinning/sticky-parts), [Stripes across a wide table (Row appearance)](#/row-appearance/stripes-across-a-wide-table), [Show, hide and arrange (ColumnMenu)](#/columnmenu/show-hide-and-arrange) and 1 more |
1263
- | `striped` | `boolean` | — | Discreet zebra stripes.<br>Shown in: [Stripes across a wide table (Row appearance)](#/row-appearance/stripes-across-a-wide-table) |
1264
- | `density` | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand.<br>Shown in: [Fit long group names in a compact table (Grouping)](#/grouping/compact-and-long-values), [Employees in the detail (Tree rows)](#/tree-rows/employees-in-the-detail), [Own staff and teams (Tree rows)](#/tree-rows/own-staff-and-teams) and 4 more |
1265
- | `maxHeight` | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#/width-and-pinning/sticky-parts), [Fold groups into a summary (Grouping)](#/grouping/the-overview), [Group twenty thousand rows (Grouping)](#/grouping/twenty-thousand-rows) and 4 more |
1266
- | `empty` | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back.<br>Shown in: [Restrict which rows a table has (Pre-filter)](#/pre-filter/pre-filter), [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states) |
1267
- | `loading` | `boolean` | — | Shows placeholder rows instead of the rows.<br>Shown in: [Rows from a request (Filter)](#/filter/rows-from-a-request), [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states), [Show loading, and drop a late answer (Server mode)](#/server-mode/loading-and-late-answers) and 1 more |
1268
- | `rowProps` | `(row: Z) => `[`RowAttributes`](#type-RowAttributes) | — | Classes and data attributes per row.<br>Shown in: [Mark rows by their state (Row appearance)](#/row-appearance/styling-rows) |
1269
- | `groupable` | `boolean` | — | `false`: the user cannot group this table - the column menu offers no grouping, and a grouping handed in is passed over.<br>Shown in: [Switch grouping off (Grouping)](#/grouping/switched-off) |
1270
- | `grid` | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table.<br>Shown in: [Work cell by cell (Grid mode)](#/grid-mode/grid-mode), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column) and 6 more |
1271
- | `editMode` | `"cell" \| "row"` | — | Grid mode ([ADR-0036](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0036-a-grid-edits-on-the-first-click-and-saves-rows-on-purpose.md)): `"cell"` reports every cell as it is left (`onCellEdit`); `"row"` opens every cell of a row that edits at once, as one **Row draft**, and reports it only when the row is saved on purpose (`onRowSave`) - by its Save button or Enter; Escape or Discard drops it. A row with a draft is left only by saving or discarding it.<br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose), [Check a whole row before it is saved (Edits)](#/edits/check-a-whole-row), [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) and 1 more |
1272
- | `newRow` | `() => Partial<Z>` | — | What a new row starts with - the values the columns read before anything is typed. Without it, nothing.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) |
1273
- | `children` | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts.<br>Shown in: [Show a list of services](#/first-table/first-table), [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own), [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) and 118 more |
1256
+ | `selectable` | `boolean` | — | Adds the selection column. "All" means: the filtered set.<br>Shown in: [Name the row (Column)](#column), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Keep the header and the names in view (Width and pinning)](#width-and-pinning) and 14 more |
1257
+ | `stickyHeader` | `boolean` | — | Keeps the header row visible while scrolling.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Fold groups into a summary (Grouping)](#grouping-1), [Group twenty thousand rows (Grouping)](#grouping-1) and 4 more |
1258
+ | `stickyRowHeader` | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Stripes across a wide table (Row appearance)](#row-appearance), [Show, hide and arrange (ColumnMenu)](#columnmenu) and 1 more |
1259
+ | `striped` | `boolean` | — | Discreet zebra stripes.<br>Shown in: [Stripes across a wide table (Row appearance)](#row-appearance) |
1260
+ | `density` | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand.<br>Shown in: [Fit long group names in a compact table (Grouping)](#grouping-1), [Employees in the detail (Tree rows)](#tree-rows), [Own staff and teams (Tree rows)](#tree-rows) and 4 more |
1261
+ | `maxHeight` | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Fold groups into a summary (Grouping)](#grouping-1), [Group twenty thousand rows (Grouping)](#grouping-1) and 4 more |
1262
+ | `empty` | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back.<br>Shown in: [Restrict which rows a table has (Pre-filter)](#pre-filter), [Show loading, empty, failed and no match (Row appearance)](#row-appearance) |
1263
+ | `loading` | `boolean` | — | Shows placeholder rows instead of the rows.<br>Shown in: [Rows from a request (Filter)](#filter), [Show loading, empty, failed and no match (Row appearance)](#row-appearance), [Show loading, and drop a late answer (Server mode)](#server-mode) and 1 more |
1264
+ | `rowProps` | `(row: Z) => ``RowAttributes` | — | Classes and data attributes per row.<br>Shown in: [Mark rows by their state (Row appearance)](#row-appearance) |
1265
+ | `groupable` | `boolean` | — | `false`: the user cannot group this table - the column menu offers no grouping, and a grouping handed in is passed over.<br>Shown in: [Switch grouping off (Grouping)](#grouping-1) |
1266
+ | `grid` | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table.<br>Shown in: [Work cell by cell (Grid mode)](#grid-mode), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits) and 6 more |
1267
+ | `editMode` | `"cell" \| "row"` | — | Grid mode ([ADR-0036](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0036-a-grid-edits-on-the-first-click-and-saves-rows-on-purpose.md)): `"cell"` reports every cell as it is left (`onCellEdit`); `"row"` opens every cell of a row that edits at once, as one **Row draft**, and reports it only when the row is saved on purpose (`onRowSave`) - by its Save button or Enter; Escape or Discard drops it. A row with a draft is left only by saving or discarding it.<br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
1268
+ | `newRow` | `() => Partial<Z>` | — | What a new row starts with - the values the columns read before anything is typed. Without it, nothing.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits) |
1269
+ | `children` | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts.<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and 119 more |
1274
1270
 
1275
1271
  ###### Events
1276
1272
 
1277
1273
  | Prop | Type | Default | Description |
1278
1274
  |---|---|---|---|
1279
- | `onCellEdit` | `(edit: `[`CellEdit`](#type-CellEdit)`<Z>) => void` | — | Grid mode: an edit the user committed. The table applies nothing; the cell shows the new value when the rows passed in carry it.<br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 1 more |
1280
- | `onRowSave` | `(save: `[`RowSave`](#type-RowSave)`<Z>) => void` | — | `editMode="row"`: a saved Row draft, with the columns it changed.<br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose), [Check a whole row before it is saved (Edits)](#/edits/check-a-whole-row), [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) and 1 more |
1281
- | `onRowAdd` | `(add: `[`RowAdd`](#type-RowAdd)`) => void` | — | Grid mode: puts up a "New row" button - in the table toolbar, or beneath the table without one. It opens an empty Row draft above the rows; saved, it is reported whole. The row appears when the rows passed in carry it.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) |
1282
- | `onRowDelete` | `(remove: `[`RowDelete`](#type-RowDelete)`<Z>) => void` | — | Grid mode: a Delete button on every row, which asks inside its row before the delete is reported. The table removes nothing.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list), [Edit a dense table (Edits)](#/edits/edit-a-dense-table) |
1275
+ | `onCellEdit` | `(edit: ``CellEdit``<Z>) => void` | — | Grid mode: an edit the user committed. The table applies nothing; the cell shows the new value when the rows passed in carry it.<br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits), [Check an edit before it is reported (Edits)](#edits) and 1 more |
1276
+ | `onRowSave` | `(save: ``RowSave``<Z>) => void` | — | `editMode="row"`: a saved Row draft, with the columns it changed.<br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
1277
+ | `onRowAdd` | `(add: ``RowAdd``) => void` | — | Grid mode: puts up a "New row" button - in the table toolbar, or beneath the table without one. It opens an empty Row draft above the rows; saved, it is reported whole. The row appears when the rows passed in carry it.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits) |
1278
+ | `onRowDelete` | `(remove: ``RowDelete``<Z>) => void` | — | Grid mode: a Delete button on every row, which asks inside its row before the delete is reported. The table removes nothing.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits), [Edit a dense table (Edits)](#edits) |
1283
1279
 
1284
1280
  ###### Accessibility
1285
1281
 
1286
1282
  | Prop | Type | Default | Description |
1287
1283
  |---|---|---|---|
1288
- | `ariaLabel` | `string` | — | Accessible name of the table (not of the outer frame).<br>Shown in: [Show a list of services](#/first-table/first-table), [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own), [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) and 118 more |
1284
+ | `ariaLabel` | `string` | — | Accessible name of the table (not of the outer frame).<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and 119 more |
1289
1285
 
1290
1286
  ###### Styling
1291
1287
 
1292
1288
  | Prop | Type | Default | Description |
1293
1289
  |---|---|---|---|
1294
- | `className` | `string` | — | Classes on the outer frame of the table.<br>Shown in: [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Keep the header and the names in view (Width and pinning)](#/width-and-pinning/sticky-parts), [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) and 2 more |
1290
+ | `className` | `string` | — | Classes on the outer frame of the table.<br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) and 2 more |
1295
1291
 
1296
1292
  ##### `TableOptions<Z>`
1297
1293
 
1298
1294
  | Prop | Type | Default | Description |
1299
1295
  |---|---|---|---|
1300
- | `rowKey` *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion.<br>Shown in: [Show a list of services](#/first-table/first-table), [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own), [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) and 118 more |
1301
- | `pageSize` | `number` | `10` | How many rows a page holds.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own), [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields), [Restrict which rows a table has (Pre-filter)](#/pre-filter/pre-filter) and 7 more |
1302
- | `defaultSort` | [`SortLevel`](#type-SortLevel)` \| readonly `[`SortLevel`](#type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own), [A label wider than its column (Width and pinning)](#/width-and-pinning/a-label-wider-than-its-column), [Sort by several columns (Sorting)](#/sorting/sort-by-several-columns) and 10 more |
1303
- | `defaultGrouping` | [`GroupingId`](#type-GroupingId)`<Z> \| readonly `[`GroupingId`](#type-GroupingId)`<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out.<br>Shown in: [Group by one column (Grouping)](#/grouping/one-level), [Group on two levels (Grouping)](#/grouping/two-levels), [Group on three levels (Grouping)](#/grouping/three-levels) and 23 more |
1304
- | `preFilter` | `(row: Z) => boolean` | — | Which rows the table has at all – by permission, by tenant, by anything the user is not meant to undo. It is invisible: never a condition, never reset, never part of the view, and "43 of 1,204" counts only the rows it admits. It may stand in the call; a change leaves the page standing, and the model clamps it.<br>Shown in: [Restrict which rows a table has (Pre-filter)](#/pre-filter/pre-filter) |
1305
- | `rowFilters` | `readonly `[`RowFilter`](#/filter/type-RowFilter)`<Z, any>[]` | — | The row filters the table has: conditions the application defines over the whole row and sets with `t.setFilter(filter, condition)` from a control of its own. Named here so that a condition from `initialView`, which arrives by id, is known in the first render.<br>Shown in: [Filter by a field no column shows (Filter)](#/filter/a-field-no-column-shows), [Rows from a request (Filter)](#/filter/rows-from-a-request), [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields) and 3 more |
1306
- | `initialView` | [`TableView`](#type-TableView) | — | The view to start from, read once when the hook first runs; a different value on a later render is ignored, as React ignores a changed `defaultValue`. To go to a view later, call `setView`. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out.<br>Shown in: [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields), [Fold groups into a summary (Grouping)](#/grouping/the-overview), [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states) and 2 more |
1307
- | `virtual` | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)).<br>Shown in: [Group twenty thousand rows (Grouping)](#/grouping/twenty-thousand-rows), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation), [Measure two hundred thousand rows (Benchmark)](#/benchmark/benchmark) and 1 more |
1308
- | `selection` | [`TableSelection`](#type-TableSelection)`<string>` | — | A selection from outside instead of its own – when the application holds it.<br>Shown in: [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself) |
1296
+ | `rowKey` *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion.<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and 119 more |
1297
+ | `pageSize` | `number` | `10` | How many rows a page holds.<br>Shown in: [Search and page from a header of your own](#first-table), [Ask a question over several fields (Filter)](#filter), [Restrict which rows a table has (Pre-filter)](#pre-filter) and 7 more |
1298
+ | `defaultSort` | `SortLevel`` \| readonly ``SortLevel``[] \| null` | `null` | The application's sort; it is the default that `view` leaves out.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table), [A label wider than its column (Width and pinning)](#width-and-pinning), [Sort by several columns (Sorting)](#sorting) and 10 more |
1299
+ | `defaultGrouping` | `GroupingId``<Z> \| readonly ``GroupingId``<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out.<br>Shown in: [Group by one column (Grouping)](#grouping-1), [Group on two levels (Grouping)](#grouping-1), [Group on three levels (Grouping)](#grouping-1) and 23 more |
1300
+ | `preFilter` | `(row: Z) => boolean` | — | Which rows the table has at all – by permission, by tenant, by anything the user is not meant to undo. It is invisible: never a condition, never reset, never part of the view, and "43 of 1,204" counts only the rows it admits. It may stand in the call; a change leaves the page standing, and the model clamps it.<br>Shown in: [Restrict which rows a table has (Pre-filter)](#pre-filter) |
1301
+ | `rowFilters` | `readonly `[`RowFilter`](#filter)`<Z, any>[]` | — | The row filters the table has: conditions the application defines over the whole row and sets with `t.setFilter(filter, condition)` from a control of its own. Named here so that a condition from `initialView`, which arrives by id, is known in the first render.<br>Shown in: [Filter by a field no column shows (Filter)](#filter), [Rows from a request (Filter)](#filter), [Ask a question over several fields (Filter)](#filter) and 3 more |
1302
+ | `initialView` | `TableView` | — | The view to start from, read once when the hook first runs; a different value on a later render is ignored, as React ignores a changed `defaultValue`. To go to a view later, call `setView`. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out.<br>Shown in: [Ask a question over several fields (Filter)](#filter), [Fold groups into a summary (Grouping)](#grouping-1), [Show loading, empty, failed and no match (Row appearance)](#row-appearance) and 2 more |
1303
+ | `virtual` | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)).<br>Shown in: [Group twenty thousand rows (Grouping)](#grouping-1), [Scroll twenty thousand rows (Virtualisation)](#virtualisation), [Measure two hundred thousand rows (Benchmark)](#benchmark) and 1 more |
1304
+ | `selection` | `TableSelection``<string>` | — | A selection from outside instead of its own – when the application holds it.<br>Shown in: [Hold the selection yourself (Selection)](#selection) |
1309
1305
 
1310
1306
  ###### Events
1311
1307
 
1312
1308
  | Prop | Type | Default | Description |
1313
1309
  |---|---|---|---|
1314
- | `onViewChange` | `(view: `[`TableView`](#type-TableView)`) => void` | — | Every change the reader makes, once, always the whole view - the one to keep, or to hand another table's `setView`. Not called for the view the table starts with, nor for one `setView` applies.<br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
1310
+ | `onViewChange` | `(view: ``TableView``) => void` | — | Every change the reader makes, once, always the whole view - the one to keep, or to hand another table's `setView`. Not called for the view the table starts with, nor for one `setView` applies.<br>Shown in: [Keep and restore a view (View)](#view) |
1315
1311
 
1316
1312
  ##### `TableSnapshot<Z>`
1317
1313
 
1318
1314
  | Prop | Type | Default | Description |
1319
1315
  |---|---|---|---|
1320
- | `rows` *required* | `readonly Z[]` | — | All the rows passed in, including those the pre-filter does not admit.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1321
- | `filtered` *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages.<br>Shown in: [Select rows (Selection)](#/selection/selection), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation) |
1322
- | `visible` *required* | `readonly Z[]` | — | What is rendered right now: the page or the window.<br>Shown in: [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation) |
1323
- | `page` *required* | `number` | — | The page shown, from 1. Without `Pagination` always 1.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1324
- | `pageCount` *required* | `number` | — | How many pages the filtered set makes.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1325
- | `pageSize` *required* | `number` | — | Rows per page.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1326
- | `setPage` *required* | `(page: number) => void` | — | Changes the page, clamped to those that exist.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1327
- | `setPageSize` *required* | `(size: number) => void` | — | Sets the rows per page; back to page one.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1328
- | `search` *required* | `string` | — | The search text.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1329
- | `setSearch` *required* | `(search: string) => void` | — | Sets the search text; back to page one.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1330
- | `sort` *required* | `readonly `[`SortLevel`](#type-SortLevel)`[]` | — | The sort levels, the first one first – only over columns that registered.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1331
- | `toggleSort` *required* | `(column: string, additive?: boolean) => void` | — | Sorts by a column. With `additive` a level is added instead of replacing the sort.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1332
- | `hidden` *required* | `readonly string[]` | — | The ids of the hidden columns.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1333
- | `toggleColumn` *required* | `(column: string) => void` | — | Hides a column or shows it again. The row header stays.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1334
- | `order` *required* | `readonly string[]` | — | The order of the columns as ids, as the user chose it.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1335
- | `setOrder` *required* | `(order: readonly string[]) => void` | — | Reorders the columns – on header, body and footer at once.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1336
- | `pinned` *required* | `Readonly<Record<string, `[`Pin`](#type-Pin)`>>` | — | The pinned columns by id - the declared ones until the user chooses.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
1337
- | `setPin` *required* | `(column: string, pin: `[`Pin`](#type-Pin)` \| null) => void` | — | Pins a column to the start or the end, or unpins it with `null`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
1338
- | `widths` *required* | `Readonly<Record<string, number>>` | — | The widths in pixels: those of the columns, and over them the dragged ones.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
1339
- | `setWidth` *required* | `(column: string, width: number \| undefined) => void` | — | Sets the width of a column; `undefined` takes it back.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
1340
- | `expanded` *required* | `readonly string[]` | — | The keys of the expanded rows.<br>Shown in: [Open a detail from outside the table (RowDetail)](#/rowdetail/open-a-detail-from-outside) |
1341
- | `toggleRow` *required* | `(key: string) => void` | — | Expands a row or collapses it.<br>Shown in: [Open a detail from outside the table (RowDetail)](#/rowdetail/open-a-detail-from-outside) |
1342
- | `filter` *required* | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters and row filters by id, in the order in which they were set. Whatever fits no column and no row filter is absent.<br>Shown in: [Set a condition from outside the table (Filter)](#/filter/conditions-from-outside) |
1343
- | `setFilter` *required* | [`SetFilter`](#type-SetFilter)`<Z>` | — | Sets the condition of a column filter or a row filter; `null` clears it. Back to page one. A condition that does not fit the kind of the filter – a range on a list filter, a column without a filter, a row filter not in `rowFilters` – is passed over with a warning in development.<br>Shown in: [Set a condition from outside the table (Filter)](#/filter/conditions-from-outside), [Filter by a field no column shows (Filter)](#/filter/a-field-no-column-shows), [Rows from a request (Filter)](#/filter/rows-from-a-request) and 5 more |
1344
- | `conditionOf` *required* | `<B>(filter: `[`RowFilter`](#/filter/type-RowFilter)`<Z, B>) => B \| null` | — | The condition of a row filter, as its type - `null` while it is lifted.<br>Shown in: [Filter by a field no column shows (Filter)](#/filter/a-field-no-column-shows), [Rows from a request (Filter)](#/filter/rows-from-a-request), [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields) and 3 more |
1345
- | `selection` *required* | [`TableSelection`](#type-TableSelection)`<string>` | — | The selection – its own or the one handed in through `selection`.<br>Shown in: [Select rows (Selection)](#/selection/selection), [Copy the selection (Export)](#/export/copy-the-selection), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation) and 3 more |
1346
- | `grouping` *required* | `readonly string[]` | — | The ids the table is grouped by, the outermost first – only those a groupable column or a group key carries, at most three.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
1347
- | `setGrouping` *required* | `(grouping: readonly string[]) => void` | — | Groups by these columns or group keys; `[]` ungroups. Back to page one.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
1348
- | `setView` *required* | `(view: `[`TableView`](#type-TableView)`) => void` | — | Goes to a whole view; what it leaves out goes back to where the table starts, and names no column carries fall out. Not reported through `onViewChange`: two tables kept in step by `onViewChange: (v) => other.setView(v)` in both directions do not answer each other. A view with the content already shown changes nothing.<br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
1349
- | `folded` *required* | `readonly string[]` | — | The paths of the folded groups that still occur.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
1350
- | `toggleFold` *required* | `(path: string) => void` | — | Folds a group or unfolds it. A group of one row does not fold.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
1351
- | `foldAll` *required* | `() => void` | — | Folds every group that has more than one row.<br>Shown in: [Fold groups into a summary (Grouping)](#/grouping/the-overview) |
1352
- | `unfoldAll` *required* | `() => void` | — | Unfolds every group.<br>Shown in: [Fold groups into a summary (Grouping)](#/grouping/the-overview) |
1353
- | `branches` *required* | `readonly string[]` | — | Tree rows: the keys of the open branches.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
1354
- | `toggleBranch` *required* | `(key: string) => void` | — | Tree rows: opens a branch or closes it.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
1355
- | `unfoldAllBranches` *required* | `() => void` | — | Tree rows: opens every branch that has children.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
1356
- | `foldAllBranches` *required* | `() => void` | — | Tree rows: closes every branch.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
1357
- | `view` *required* | [`TableView`](#type-TableView) | — | The part of the state an application can keep; whatever still stands as the options set it up is absent.<br>Shown in: [Set a condition from outside the table (Filter)](#/filter/conditions-from-outside), [Fold groups into a summary (Grouping)](#/grouping/the-overview), [Keep and restore a view (View)](#/view/initial-view) |
1358
- | `asCsv` *required* | `() => string` | — | The filtered set in the visible columns as text for a spreadsheet - in server mode the page.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1359
- | `selectionAsText` *required* | `() => string` | — | The selected rows within the filtered set as tab-separated text under a header line - the text Ctrl+C writes. `""` with nothing selected.<br>Shown in: [Copy the selection (Export)](#/export/copy-the-selection) |
1360
- | `virtual` *required* | `boolean` | — | Whether it virtualises.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1361
- | `rowCount` *required* | `number` | — | How many rows the filtered set has - in server mode the server's count.<br>Shown in: [Search and page from a header of your own](#/first-table/search-and-page-from-a-header-of-your-own) |
1362
- | `server` *required* | `boolean` | — | Whether it is in server mode: the rows are one page of a server's.<br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
1316
+ | `rows` *required* | `readonly Z[]` | — | All the rows passed in, including those the pre-filter does not admit.<br>Shown in: [Search and page from a header of your own](#first-table) |
1317
+ | `filtered` *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages.<br>Shown in: [Select rows (Selection)](#selection), [Scroll twenty thousand rows (Virtualisation)](#virtualisation) |
1318
+ | `visible` *required* | `readonly Z[]` | — | What is rendered right now: the page or the window.<br>Shown in: [Scroll twenty thousand rows (Virtualisation)](#virtualisation) |
1319
+ | `page` *required* | `number` | — | The page shown, from 1. Without `Pagination` always 1.<br>Shown in: [Search and page from a header of your own](#first-table) |
1320
+ | `pageCount` *required* | `number` | — | How many pages the filtered set makes.<br>Shown in: [Search and page from a header of your own](#first-table) |
1321
+ | `pageSize` *required* | `number` | — | Rows per page.<br>Shown in: [Search and page from a header of your own](#first-table) |
1322
+ | `setPage` *required* | `(page: number) => void` | — | Changes the page, clamped to those that exist.<br>Shown in: [Search and page from a header of your own](#first-table) |
1323
+ | `setPageSize` *required* | `(size: number) => void` | — | Sets the rows per page; back to page one.<br>Shown in: [Search and page from a header of your own](#first-table) |
1324
+ | `search` *required* | `string` | — | The search text.<br>Shown in: [Search and page from a header of your own](#first-table) |
1325
+ | `setSearch` *required* | `(search: string) => void` | — | Sets the search text; back to page one.<br>Shown in: [Search and page from a header of your own](#first-table) |
1326
+ | `sort` *required* | `readonly ``SortLevel``[]` | — | The sort levels, the first one first – only over columns that registered.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1327
+ | `toggleSort` *required* | `(column: string, additive?: boolean) => void` | — | Sorts by a column. With `additive` a level is added instead of replacing the sort.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1328
+ | `hidden` *required* | `readonly string[]` | — | The ids of the hidden columns.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1329
+ | `toggleColumn` *required* | `(column: string) => void` | — | Hides a column or shows it again. The row header stays.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1330
+ | `order` *required* | `readonly string[]` | — | The order of the columns as ids, as the user chose it.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1331
+ | `setOrder` *required* | `(order: readonly string[]) => void` | — | Reorders the columns – on header, body and footer at once.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1332
+ | `pinned` *required* | `Readonly<Record<string, ``Pin``>>` | — | The pinned columns by id - the declared ones until the user chooses.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
1333
+ | `setPin` *required* | `(column: string, pin: ``Pin`` \| null) => void` | — | Pins a column to the start or the end, or unpins it with `null`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
1334
+ | `widths` *required* | `Readonly<Record<string, number>>` | — | The widths in pixels: those of the columns, and over them the dragged ones.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
1335
+ | `setWidth` *required* | `(column: string, width: number \| undefined) => void` | — | Sets the width of a column; `undefined` takes it back.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
1336
+ | `expanded` *required* | `readonly string[]` | — | The keys of the expanded rows.<br>Shown in: [Open a detail from outside the table (RowDetail)](#rowdetail) |
1337
+ | `toggleRow` *required* | `(key: string) => void` | — | Expands a row or collapses it.<br>Shown in: [Open a detail from outside the table (RowDetail)](#rowdetail) |
1338
+ | `filter` *required* | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters and row filters by id, in the order in which they were set. Whatever fits no column and no row filter is absent.<br>Shown in: [Set a condition from outside the table (Filter)](#filter) |
1339
+ | `setFilter` *required* | `SetFilter``<Z>` | — | Sets the condition of a column filter or a row filter; `null` clears it. Back to page one. A condition that does not fit the kind of the filter – a range on a list filter, a column without a filter, a row filter not in `rowFilters` – is passed over with a warning in development.<br>Shown in: [Set a condition from outside the table (Filter)](#filter), [Filter by a field no column shows (Filter)](#filter), [Rows from a request (Filter)](#filter) and 5 more |
1340
+ | `conditionOf` *required* | `<B>(filter: `[`RowFilter`](#filter)`<Z, B>) => B \| null` | — | The condition of a row filter, as its type - `null` while it is lifted.<br>Shown in: [Filter by a field no column shows (Filter)](#filter), [Rows from a request (Filter)](#filter), [Ask a question over several fields (Filter)](#filter) and 3 more |
1341
+ | `selection` *required* | `TableSelection``<string>` | — | The selection – its own or the one handed in through `selection`.<br>Shown in: [Select rows (Selection)](#selection), [Copy the selection (Export)](#export), [Scroll twenty thousand rows (Virtualisation)](#virtualisation) and 3 more |
1342
+ | `grouping` *required* | `readonly string[]` | — | The ids the table is grouped by, the outermost first – only those a groupable column or a group key carries, at most three.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
1343
+ | `setGrouping` *required* | `(grouping: readonly string[]) => void` | — | Groups by these columns or group keys; `[]` ungroups. Back to page one.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
1344
+ | `setView` *required* | `(view: ``TableView``) => void` | — | Goes to a whole view; what it leaves out goes back to where the table starts, and names no column carries fall out. Not reported through `onViewChange`: two tables kept in step by `onViewChange: (v) => other.setView(v)` in both directions do not answer each other. A view with the content already shown changes nothing.<br>Shown in: [Keep and restore a view (View)](#view) |
1345
+ | `folded` *required* | `readonly string[]` | — | The paths of the folded groups that still occur.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
1346
+ | `toggleFold` *required* | `(path: string) => void` | — | Folds a group or unfolds it. A group of one row does not fold.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
1347
+ | `foldAll` *required* | `() => void` | — | Folds every group that has more than one row.<br>Shown in: [Fold groups into a summary (Grouping)](#grouping-1) |
1348
+ | `unfoldAll` *required* | `() => void` | — | Unfolds every group.<br>Shown in: [Fold groups into a summary (Grouping)](#grouping-1) |
1349
+ | `branches` *required* | `readonly string[]` | — | Tree rows: the keys of the open branches.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
1350
+ | `toggleBranch` *required* | `(key: string) => void` | — | Tree rows: opens a branch or closes it.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
1351
+ | `unfoldAllBranches` *required* | `() => void` | — | Tree rows: opens every branch that has children.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
1352
+ | `foldAllBranches` *required* | `() => void` | — | Tree rows: closes every branch.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
1353
+ | `view` *required* | `TableView` | — | The part of the state an application can keep; whatever still stands as the options set it up is absent.<br>Shown in: [Set a condition from outside the table (Filter)](#filter), [Fold groups into a summary (Grouping)](#grouping-1), [Keep and restore a view (View)](#view) |
1354
+ | `asCsv` *required* | `() => string` | — | The filtered set in the visible columns as text for a spreadsheet - in server mode the page.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1355
+ | `selectionAsText` *required* | `() => string` | — | The selected rows within the filtered set as tab-separated text under a header line - the text Ctrl+C writes. `""` with nothing selected.<br>Shown in: [Copy the selection (Export)](#export) |
1356
+ | `virtual` *required* | `boolean` | — | Whether it virtualises.<br>Shown in: [Search and page from a header of your own](#first-table) |
1357
+ | `rowCount` *required* | `number` | — | How many rows the filtered set has - in server mode the server's count.<br>Shown in: [Search and page from a header of your own](#first-table) |
1358
+ | `server` *required* | `boolean` | — | Whether it is in server mode: the rows are one page of a server's.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table) |
1363
1359
 
1364
1360
  ##### Types on this page
1365
1361
 
@@ -1379,10 +1375,10 @@ An edit the user committed - reported, not applied.
1379
1375
 
1380
1376
  | Prop | Type | Default | Description |
1381
1377
  |---|---|---|---|
1382
- | `rowKey` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 1 more |
1383
- | `columnId` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Check an edit before it is reported (Edits)](#/edits/validated-edits), [Plan the team's capacity (Scenarios)](#/scenarios/plan-the-team-capacity) |
1384
- | `value` *required* | `unknown` | — | The editor's value: text for `"text"`, a number or null for `"number"`, a day or null for `"date"`, an option for `"select"`.<br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 1 more |
1385
- | `row` *required* | `Z` | — | <br>Shown in: [Check an edit before it is reported (Edits)](#/edits/validated-edits), [Plan the team's capacity (Scenarios)](#/scenarios/plan-the-team-capacity) |
1378
+ | `rowKey` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits), [Check an edit before it is reported (Edits)](#edits) and 1 more |
1379
+ | `columnId` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Check an edit before it is reported (Edits)](#edits), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
1380
+ | `value` *required* | `unknown` | — | The editor's value: text for `"text"`, a number or null for `"number"`, a day or null for `"date"`, an option for `"select"`.<br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits), [Check an edit before it is reported (Edits)](#edits) and 1 more |
1381
+ | `row` *required* | `Z` | — | <br>Shown in: [Check an edit before it is reported (Edits)](#edits), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
1386
1382
 
1387
1383
  ###### `RowSave<Z>`
1388
1384
 
@@ -1390,9 +1386,9 @@ A Row draft the user saved ([ADR-0036](https://github.com/romanhaendler/umriss-u
1390
1386
 
1391
1387
  | Prop | Type | Default | Description |
1392
1388
  |---|---|---|---|
1393
- | `rowKey` *required* | `string` | — | <br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose), [Check a whole row before it is saved (Edits)](#/edits/check-a-whole-row), [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) and 1 more |
1394
- | `changes` *required* | `Readonly<Record<string, unknown>>` | — | The columns the draft changed, by column id, with their editors' values.<br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose), [Check a whole row before it is saved (Edits)](#/edits/check-a-whole-row), [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) and 1 more |
1395
- | `row` *required* | `Z` | — | <br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose) |
1389
+ | `rowKey` *required* | `string` | — | <br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
1390
+ | `changes` *required* | `Readonly<Record<string, unknown>>` | — | The columns the draft changed, by column id, with their editors' values.<br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
1391
+ | `row` *required* | `Z` | — | <br>Shown in: [Save a row on purpose (Edits)](#edits) |
1396
1392
 
1397
1393
  ###### `RowAdd`
1398
1394
 
@@ -1400,7 +1396,7 @@ A new row the user saved: every column that edits, by column id.
1400
1396
 
1401
1397
  | Prop | Type | Default | Description |
1402
1398
  |---|---|---|---|
1403
- | `values` *required* | `Readonly<Record<string, unknown>>` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) |
1399
+ | `values` *required* | `Readonly<Record<string, unknown>>` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits) |
1404
1400
 
1405
1401
  ###### `RowDelete<Z>`
1406
1402
 
@@ -1408,7 +1404,7 @@ A row the user asked to delete, and confirmed.
1408
1404
 
1409
1405
  | Prop | Type | Default | Description |
1410
1406
  |---|---|---|---|
1411
- | `rowKey` *required* | `string` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list), [Edit a dense table (Edits)](#/edits/edit-a-dense-table) |
1407
+ | `rowKey` *required* | `string` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits), [Edit a dense table (Edits)](#edits) |
1412
1408
  | `row` *required* | `Z` | — | |
1413
1409
 
1414
1410
  ###### `SortLevel<K extends string = string>`
@@ -1418,8 +1414,8 @@ only what the first leaves open.
1418
1414
 
1419
1415
  | Prop | Type | Default | Description |
1420
1416
  |---|---|---|---|
1421
- | `column` *required* | `K` | — | <br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own), [A label wider than its column (Width and pinning)](#/width-and-pinning/a-label-wider-than-its-column), [Sort by several columns (Sorting)](#/sorting/sort-by-several-columns) and 10 more |
1422
- | `direction` *required* | [`SortDirection`](#type-SortDirection)<br>`"asc" \| "desc"` | — | <br>Shown in: [Sort, arrange and export from controls of your own](#/first-table/sort-arrange-and-export-from-controls-of-your-own), [A label wider than its column (Width and pinning)](#/width-and-pinning/a-label-wider-than-its-column), [Sort by several columns (Sorting)](#/sorting/sort-by-several-columns) and 10 more |
1417
+ | `column` *required* | `K` | — | <br>Shown in: [Sort, arrange and export from controls of your own](#first-table), [A label wider than its column (Width and pinning)](#width-and-pinning), [Sort by several columns (Sorting)](#sorting) and 10 more |
1418
+ | `direction` *required* | `SortDirection`<br>`"asc" \| "desc"` | — | <br>Shown in: [Sort, arrange and export from controls of your own](#first-table), [A label wider than its column (Width and pinning)](#width-and-pinning), [Sort by several columns (Sorting)](#sorting) and 10 more |
1423
1419
 
1424
1420
  ###### `GroupingId<Z>`
1425
1421
 
@@ -1440,18 +1436,18 @@ the application.
1440
1436
 
1441
1437
  | Prop | Type | Default | Description |
1442
1438
  |---|---|---|---|
1443
- | `search` | `string` | — | <br>Shown in: [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states), [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search) and 3 more |
1444
- | `conditions` | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters, per column. A condition for a column that does not exist, or whose filter is of another kind, falls out.<br>Shown in: [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields), [A dispatcher's bar (Toolbar controls)](#/toolbar-controls/a-dispatcher-s-bar), [Hand the table one page (Server mode)](#/server-mode/only-pages) and 4 more |
1445
- | `sort` | `readonly `[`SortLevel`](#type-SortLevel)`<K>[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view), [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search) and 3 more |
1446
- | `page` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search), [Name the values a list filter offers (Server mode)](#/server-mode/filter-options) and 2 more |
1447
- | `pageSize` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search), [Name the values a list filter offers (Server mode)](#/server-mode/filter-options) and 2 more |
1448
- | `hidden` | `readonly K[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
1439
+ | `search` | `string` | — | <br>Shown in: [Show loading, empty, failed and no match (Row appearance)](#row-appearance), [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode) and 3 more |
1440
+ | `conditions` | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters, per column. A condition for a column that does not exist, or whose filter is of another kind, falls out.<br>Shown in: [Ask a question over several fields (Filter)](#filter), [A dispatcher's bar (Toolbar controls)](#toolbar-controls), [Hand the table one page (Server mode)](#server-mode) and 4 more |
1441
+ | `sort` | `readonly ``SortLevel``<K>[]` | — | <br>Shown in: [Keep and restore a view (View)](#view), [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode) and 3 more |
1442
+ | `page` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode), [Name the values a list filter offers (Server mode)](#server-mode) and 2 more |
1443
+ | `pageSize` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode), [Name the values a list filter offers (Server mode)](#server-mode) and 2 more |
1444
+ | `hidden` | `readonly K[]` | — | <br>Shown in: [Keep and restore a view (View)](#view) |
1449
1445
  | `order` | `readonly K[]` | — | |
1450
1446
  | `widths` | `Readonly<Record<string, number>>` | — | Column widths the user has dragged, in pixels. |
1451
1447
  | `grouping` | `readonly K[]` | — | The columns and group keys the table is grouped by, the outermost first. |
1452
- | `folded` | `readonly string[]` | — | The paths of the folded groups. A path that no longer occurs falls out.<br>Shown in: [Fold groups into a summary (Grouping)](#/grouping/the-overview) |
1448
+ | `folded` | `readonly string[]` | — | The paths of the folded groups. A path that no longer occurs falls out.<br>Shown in: [Fold groups into a summary (Grouping)](#grouping-1) |
1453
1449
  | `branches` | `readonly string[]` | — | Tree rows: the keys of the open branches. A key that no longer occurs falls out. |
1454
- | `pinned` | `Readonly<Record<string, `[`Pin`](#type-Pin)`>>` | — | The pinned columns, whole, once the user's choice deviates from what the columns declare - `{}` when every declared pin was undone. A column that does not exist falls out. |
1450
+ | `pinned` | `Readonly<Record<string, ``Pin``>>` | — | The pinned columns, whole, once the user's choice deviates from what the columns declare - `{}` when every declared pin was undone. A column that does not exist falls out. |
1455
1451
 
1456
1452
  ###### `TableSelection<T extends string | number>`
1457
1453
 
@@ -1461,14 +1457,14 @@ selection.
1461
1457
 
1462
1458
  | Prop | Type | Default | Description |
1463
1459
  |---|---|---|---|
1464
- | `selected` *required* | `ReadonlySet<T>` | — | The keys currently selected.<br>Shown in: [Work through the alerts (Scenarios)](#/scenarios/work-through-the-alerts) |
1465
- | `isSelected` *required* | `(id: T) => boolean` | — | <br>Shown in: [Select rows (Selection)](#/selection/selection), [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself) |
1466
- | `toggle` *required* | `(id: T) => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself) |
1460
+ | `selected` *required* | `ReadonlySet<T>` | — | The keys currently selected.<br>Shown in: [Work through the alerts (Scenarios)](#work-through-the-alerts) |
1461
+ | `isSelected` *required* | `(id: T) => boolean` | — | <br>Shown in: [Select rows (Selection)](#selection), [Hold the selection yourself (Selection)](#selection) |
1462
+ | `toggle` *required* | `(id: T) => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#selection) |
1467
1463
  | `toggleAll` *required* | `() => void` | — | Selects all the keys passed in - or, when all of them are selected already, deselects them. Keys outside them stay as they are. |
1468
- | `clear` *required* | `() => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself), [Work through the alerts (Scenarios)](#/scenarios/work-through-the-alerts), [Find a late shipment (Scenarios)](#/scenarios/find-a-late-shipment) |
1464
+ | `clear` *required* | `() => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#selection), [Work through the alerts (Scenarios)](#work-through-the-alerts), [Find a late shipment (Scenarios)](#find-a-late-shipment) |
1469
1465
  | `allSelected` *required* | `boolean` | — | true when every key passed in is selected. |
1470
1466
  | `someSelected` *required* | `boolean` | — | true when some - but not all - are selected. |
1471
- | `count` *required* | `number` | — | <br>Shown in: [Select rows (Selection)](#/selection/selection), [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself), [Copy the selection (Export)](#/export/copy-the-selection) and 2 more |
1467
+ | `count` *required* | `number` | — | <br>Shown in: [Select rows (Selection)](#selection), [Hold the selection yourself (Selection)](#selection), [Copy the selection (Export)](#export) and 2 more |
1472
1468
 
1473
1469
  ###### `Pin`
1474
1470
 
@@ -1557,10 +1553,10 @@ type Absent = null | undefined;
1557
1553
 
1558
1554
  #### Known limits
1559
1555
 
1560
- - No cell range selection and no undo: an edit is reported, never applied, and the application owns the rows ([ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/)).
1561
- - No pivot: compute the pivoted rows and declare their columns ([ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/)).
1556
+ - No cell range selection and no undo: an edit is reported, never applied, and the application owns the rows ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md)).
1557
+ - No pivot: compute the pivoted rows and map one computed column per key from the data, as in [a matrix with row and column totals](#aggregate) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md)).
1562
1558
 
1563
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
1559
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
1564
1560
 
1565
1561
  ### Provider
1566
1562
 
@@ -1570,8 +1566,6 @@ Set the table's wording, formats and density once for the whole application, at
1570
1566
  import { UmrissProvider } from "@umriss-ui/table";
1571
1567
  ```
1572
1568
 
1573
- Demo page: https://romanhaendler.github.io/umriss-ui/table/provider/
1574
-
1575
1569
  The table has no provider of its own: it reads the one of @umriss-ui/core ([ADR-0016](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0016-the-table-is-a-package-that-depends-on-ui.md)). German wording ships as `@umriss-ui/core/wording/de` ([ADR-0019](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0019-two-wordings-ship-english-is-the-default.md)).
1576
1570
 
1577
1571
  #### Examples
@@ -1644,53 +1638,53 @@ export default function Provider() {
1644
1638
 
1645
1639
  #### Keyboard
1646
1640
 
1647
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [ColumnMenu](#/columnmenu/keyboard-columnmenu), [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) and [DatePicker](https://romanhaendler.github.io/umriss-ui/core/datepicker/#keyboard-datepicker) apply here.
1641
+ The keys of [First table](#first-table), Input, [ColumnMenu](#columnmenu), Button and DatePicker apply here.
1648
1642
 
1649
1643
  #### Props on this page
1650
1644
 
1651
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
1645
+ From `TableProps` — the full table stands on [First table](#first-table).
1652
1646
 
1653
1647
  | Prop | Type | Default | Description |
1654
1648
  |---|---|---|---|
1655
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
1649
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
1656
1650
 
1657
1651
  ###### Accessibility
1658
1652
 
1659
1653
  | Prop | Type | Default | Description |
1660
1654
  |---|---|---|---|
1661
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
1655
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
1662
1656
 
1663
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
1657
+ From `TableOptions` — the full table stands on [First table](#first-table).
1664
1658
 
1665
1659
  | Prop | Type | Default | Description |
1666
1660
  |---|---|---|---|
1667
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
1661
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
1668
1662
 
1669
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
1663
+ From `FieldColumn` — the full table stands on [Column](#column).
1670
1664
 
1671
1665
  | Prop | Type | Default | Description |
1672
1666
  |---|---|---|---|
1673
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
1674
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
1667
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
1668
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
1675
1669
 
1676
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
1670
+ From `ColumnBase` — the full table stands on [Column](#column).
1677
1671
 
1678
1672
  | Prop | Type | Default | Description |
1679
1673
  |---|---|---|---|
1680
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
1681
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
1674
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
1675
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
1682
1676
 
1683
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
1677
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
1684
1678
 
1685
1679
  | Prop | Type | Default | Description |
1686
1680
  |---|---|---|---|
1687
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
1681
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
1688
1682
 
1689
- From `ExportProps` — the full table stands on [Export](#/export/type-ExportProps).
1683
+ From `ExportProps` — the full table stands on [Export](#export).
1690
1684
 
1691
1685
  | Prop | Type | Default | Description |
1692
1686
  |---|---|---|---|
1693
- | [`filename`](#/export/ExportProps-filename) | `string` | the wording's "table.csv" | File name of the download. |
1687
+ | [`filename`](#export) | `string` | the wording's "table.csv" | File name of the download. |
1694
1688
 
1695
1689
  ## Columns
1696
1690
 
@@ -1704,8 +1698,6 @@ One value per row, read from a field or computed. Everything the table does with
1704
1698
  import { useTable } from "@umriss-ui/table";
1705
1699
  ```
1706
1700
 
1707
- Demo page: https://romanhaendler.github.io/umriss-ui/table/column/
1708
-
1709
1701
  Without a presentation the value type decides: text on the left, numbers right-aligned with tabular figures, points in time as date and time, truth values as a word.
1710
1702
 
1711
1703
  A computed value needs an `id`. One column is the row header: it names the row, cannot be hidden, and the row's checkbox and actions are read out with it.
@@ -1866,7 +1858,7 @@ export default function RowHeader() {
1866
1858
 
1867
1859
  #### Keyboard
1868
1860
 
1869
- The keys of [First table](#/first-table/keyboard-first-table), [ColumnMenu](#/columnmenu/keyboard-columnmenu), [RowActions](#/rowactions/keyboard-rowactions) and [Checkbox](https://romanhaendler.github.io/umriss-ui/core/checkbox/#keyboard-checkbox) apply here.
1861
+ The keys of [First table](#first-table), [ColumnMenu](#columnmenu), [RowActions](#rowactions) and Checkbox apply here.
1870
1862
 
1871
1863
  #### Accessibility
1872
1864
 
@@ -1878,15 +1870,15 @@ The `label` is the column header's text, and so what a screen reader says for ev
1878
1870
 
1879
1871
  | Prop | Type | Default | Description |
1880
1872
  |---|---|---|---|
1881
- | `value` *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time.<br>Shown in: [Read a value from a field](#/column/value-from-field), [Compute a value from the row](#/column/computed-value), [Let the value type decide](#/column/defaults) and 118 more |
1882
- | `id` | `string` | — | An id of one's own instead of the field name – for two columns over the same field.<br>Shown in: [Pick a standard format (Formats)](#/formats/format), [Share a column between tables (Presets)](#/presets/presets) |
1883
- | `format` | [`FormatFor`](#type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value.<br>Shown in: [Compute a value from the row](#/column/computed-value), [Set wording and formats once (Provider)](#/provider/provider), [Pick a standard format (Formats)](#/formats/format) and 33 more |
1884
- | `filter` | [`FilterFor`](#type-FilterFor)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar.<br>Shown in: [A label wider than its column (Width and pinning)](#/width-and-pinning/a-label-wider-than-its-column), [Share a column between tables (Presets)](#/presets/presets), [Choose from the values that occur (Filter)](#/filter/list-filter) and 11 more |
1885
- | `group` | [`GroupFor`](#type-GroupFor)`<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Group dates by month (Grouping)](#/grouping/by-month) |
1886
- | `edit` | [`EditFor`](#type-EditFor)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column) and 6 more |
1887
- | `editOptions` | `readonly `[`Present`](#type-Present)`<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Check an edit before it is reported (Edits)](#/edits/validated-edits), [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose) and 1 more |
1888
- | `validate` | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 3 more |
1889
- | `children` | [`Presentation`](#type-Presentation)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form.<br>Shown in: [Draw a value with other components (Formats)](#/formats/presentation), [Show absent values (Formats)](#/formats/absent-values), [Fit what does not fit (Formats)](#/formats/values-that-do-not-fit) and 9 more |
1873
+ | `value` *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 119 more |
1874
+ | `id` | `string` | — | An id of one's own instead of the field name – for two columns over the same field.<br>Shown in: [Pick a standard format (Formats)](#formats), [Share a column between tables (Presets)](#presets) |
1875
+ | `format` | `FormatFor``<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value.<br>Shown in: [Compute a value from the row](#column), [Set wording and formats once (Provider)](#provider), [Pick a standard format (Formats)](#formats) and 34 more |
1876
+ | `filter` | `FilterFor``<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar.<br>Shown in: [A label wider than its column (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets), [Choose from the values that occur (Filter)](#filter) and 11 more |
1877
+ | `group` | `GroupFor``<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Group dates by month (Grouping)](#grouping-1) |
1878
+ | `edit` | `EditFor``<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits) and 6 more |
1879
+ | `editOptions` | `readonly ``Present``<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Check an edit before it is reported (Edits)](#edits), [Save a row on purpose (Edits)](#edits) and 1 more |
1880
+ | `validate` | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Check an edit before it is reported (Edits)](#edits) and 3 more |
1881
+ | `children` | `Presentation``<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form.<br>Shown in: [Draw a value with other components (Formats)](#formats), [Show absent values (Formats)](#formats), [Fit what does not fit (Formats)](#formats) and 9 more |
1890
1882
 
1891
1883
  Also every prop of `ColumnBase`, `ValuePaths` and `AggregateOptions`.
1892
1884
 
@@ -1894,23 +1886,23 @@ Also every prop of `ColumnBase`, `ValuePaths` and `AggregateOptions`.
1894
1886
 
1895
1887
  | Prop | Type | Default | Description |
1896
1888
  |---|---|---|---|
1897
- | `label` *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export.<br>Shown in: [Read a value from a field](#/column/value-from-field), [Compute a value from the row](#/column/computed-value), [Let the value type decide](#/column/defaults) and 118 more |
1898
- | `rowHeader` | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table.<br>Shown in: [Read a value from a field](#/column/value-from-field), [Compute a value from the row](#/column/computed-value), [Let the value type decide](#/column/defaults) and 117 more |
1899
- | `numeric` | `boolean` | decided by the first value present | Right-aligned with tabular figures.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets) |
1900
- | `width` | `number` | the browser's | Initial width in pixels.<br>Shown in: [Fit long values (Formats)](#/formats/long-values), [Fit what does not fit (Formats)](#/formats/values-that-do-not-fit), [Let people set the width (Width and pinning)](#/width-and-pinning/width) and 15 more |
1901
- | `resizable` | `boolean` | — | Shows the drag grip on the header cell.<br>Shown in: [Let people set the width (Width and pinning)](#/width-and-pinning/width), [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own), [Share a column between tables (Presets)](#/presets/presets) and 1 more |
1902
- | `pin` | [`Pin`](#type-Pin)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room.<br>Shown in: [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Share a column between tables (Presets)](#/presets/presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid) and 1 more |
1903
- | `sortable` | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by.<br>Shown in: [Fit long values (Formats)](#/formats/long-values), [Fit what does not fit (Formats)](#/formats/values-that-do-not-fit), [Let people set the width (Width and pinning)](#/width-and-pinning/width) and 6 more |
1904
- | `searchable` | `boolean` | `true` for text, `false` otherwise | Takes part in the search.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Leave a column out (Search)](#/search/leave-a-column-out), [An uneven organisation (Tree rows)](#/tree-rows/an-uneven-organisation) |
1905
- | `groupable` | `boolean` | `true` when its value is text, a number, a point in time or a boolean, or it has a `groupValue` | Can the table be grouped by this column?<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Switch grouping off (Grouping)](#/grouping/switched-off) |
1889
+ | `label` *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 119 more |
1890
+ | `rowHeader` | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 118 more |
1891
+ | `numeric` | `boolean` | decided by the first value present | Right-aligned with tabular figures.<br>Shown in: [Share a column between tables (Presets)](#presets) |
1892
+ | `width` | `number` | the browser's | Initial width in pixels.<br>Shown in: [Fit long values (Formats)](#formats), [Fit what does not fit (Formats)](#formats), [Let people set the width (Width and pinning)](#width-and-pinning) and 15 more |
1893
+ | `resizable` | `boolean` | — | Shows the drag grip on the header cell.<br>Shown in: [Let people set the width (Width and pinning)](#width-and-pinning), [Pin and size from controls of your own (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) and 1 more |
1894
+ | `pin` | `Pin`<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room.<br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode) and 1 more |
1895
+ | `sortable` | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by.<br>Shown in: [Fit long values (Formats)](#formats), [Fit what does not fit (Formats)](#formats), [Let people set the width (Width and pinning)](#width-and-pinning) and 6 more |
1896
+ | `searchable` | `boolean` | `true` for text, `false` otherwise | Takes part in the search.<br>Shown in: [Share a column between tables (Presets)](#presets), [Leave a column out (Search)](#search), [An uneven organisation (Tree rows)](#tree-rows) |
1897
+ | `groupable` | `boolean` | `true` when its value is text, a number, a point in time or a boolean, or it has a `groupValue` | Can the table be grouped by this column?<br>Shown in: [Share a column between tables (Presets)](#presets), [Switch grouping off (Grouping)](#grouping-1) |
1906
1898
 
1907
1899
  ##### `ValuePaths<W>`
1908
1900
 
1909
1901
  | Prop | Type | Default | Description |
1910
1902
  |---|---|---|---|
1911
- | `sortValue` | `(value: `[`Present`](#type-Present)`<W>) => string \| number \| `[`Absent`](#type-Absent) | — | What is sorted by, when not by the value itself.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Sort and export a value that is an object (Sorting)](#/sorting/own-ordering), [Work through the alerts (Scenarios)](#/scenarios/work-through-the-alerts) |
1912
- | `exportValue` | `(value: `[`Present`](#type-Present)`<W>) => string \| number \| `[`Absent`](#type-Absent) | — | What stands in the export, when not the value itself.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Sort and export a value that is an object (Sorting)](#/sorting/own-ordering) |
1913
- | `groupValue` | `(value: `[`Present`](#type-Present)`<W>) => string \| number \| boolean \| Date \| `[`Absent`](#type-Absent) | — | What is grouped by, when not the value itself - a group header of a number, say. Rows whose group value is absent form a group of their own.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Group numbers in bands (Grouping)](#/grouping/in-bands) |
1903
+ | `sortValue` | `(value: ``Present``<W>) => string \| number \| ``Absent` | — | What is sorted by, when not by the value itself.<br>Shown in: [Share a column between tables (Presets)](#presets), [Sort and export a value that is an object (Sorting)](#sorting), [Work through the alerts (Scenarios)](#work-through-the-alerts) |
1904
+ | `exportValue` | `(value: ``Present``<W>) => string \| number \| ``Absent` | — | What stands in the export, when not the value itself.<br>Shown in: [Share a column between tables (Presets)](#presets), [Sort and export a value that is an object (Sorting)](#sorting) |
1905
+ | `groupValue` | `(value: ``Present``<W>) => string \| number \| boolean \| Date \| ``Absent` | — | What is grouped by, when not the value itself - a group header of a number, say. Rows whose group value is absent form a group of their own.<br>Shown in: [Share a column between tables (Presets)](#presets), [Group numbers in bands (Grouping)](#grouping-1) |
1914
1906
 
1915
1907
  ##### Types on this page
1916
1908
 
@@ -2069,8 +2061,6 @@ How a value looks in its cell: a standard format, a presentation of its own, an
2069
2061
  import { useTable } from "@umriss-ui/table";
2070
2062
  ```
2071
2063
 
2072
- Demo page: https://romanhaendler.github.io/umriss-ui/table/formats/
2073
-
2074
2064
  A format or a presentation changes what the cell shows and nothing else: sorting, search, export and totals keep working on the value.
2075
2065
 
2076
2066
  `null`, `undefined` and `NaN` are an absent value: a muted dash, last in either sort direction, counted in no total. The presentation is never called for it.
@@ -2283,7 +2273,7 @@ export default function ValuesThatDoNotFit() {
2283
2273
 
2284
2274
  #### Keyboard
2285
2275
 
2286
- The keys of [First table](#/first-table/keyboard-first-table) apply here.
2276
+ The keys of [First table](#first-table) apply here.
2287
2277
 
2288
2278
  #### Accessibility
2289
2279
 
@@ -2293,47 +2283,47 @@ A presentation that draws a component brings that component's role along - a `Me
2293
2283
 
2294
2284
  #### Props on this page
2295
2285
 
2296
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
2286
+ From `TableProps` — the full table stands on [First table](#first-table).
2297
2287
 
2298
2288
  | Prop | Type | Default | Description |
2299
2289
  |---|---|---|---|
2300
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
2290
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
2301
2291
 
2302
2292
  ###### Accessibility
2303
2293
 
2304
2294
  | Prop | Type | Default | Description |
2305
2295
  |---|---|---|---|
2306
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
2296
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
2307
2297
 
2308
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
2298
+ From `TableOptions` — the full table stands on [First table](#first-table).
2309
2299
 
2310
2300
  | Prop | Type | Default | Description |
2311
2301
  |---|---|---|---|
2312
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
2302
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
2313
2303
 
2314
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
2304
+ From `FieldColumn` — the full table stands on [Column](#column).
2315
2305
 
2316
2306
  | Prop | Type | Default | Description |
2317
2307
  |---|---|---|---|
2318
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2319
- | [`id`](#/column/FieldColumn-id) | `string` | — | An id of one's own instead of the field name – for two columns over the same field. |
2320
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
2321
- | [`children`](#/column/FieldColumn-children) | [`Presentation`](#/column/type-Presentation)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
2308
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2309
+ | [`id`](#column) | `string` | — | An id of one's own instead of the field name – for two columns over the same field. |
2310
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
2311
+ | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
2322
2312
 
2323
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
2313
+ From `ColumnBase` — the full table stands on [Column](#column).
2324
2314
 
2325
2315
  | Prop | Type | Default | Description |
2326
2316
  |---|---|---|---|
2327
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2328
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
2329
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
2330
- | [`sortable`](#/column/ColumnBase-sortable) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
2317
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2318
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
2319
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
2320
+ | [`sortable`](#column) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
2331
2321
 
2332
- From `AggregateOptions` — the full table stands on [Aggregate](#/aggregate/type-AggregateOptions).
2322
+ From `AggregateOptions` — the full table stands on [Aggregate](#aggregate).
2333
2323
 
2334
2324
  | Prop | Type | Default | Description |
2335
2325
  |---|---|---|---|
2336
- | [`aggregate`](#/aggregate/AggregateOptions-aggregate) | [`AggregateFor`](#/aggregate/type-AggregateFor)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
2326
+ | [`aggregate`](#aggregate) | [`AggregateFor`](#aggregate)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
2337
2327
 
2338
2328
  ### Width and pinning
2339
2329
 
@@ -2343,8 +2333,6 @@ How wide a column stands, which columns stay in view while the table scrolls sid
2343
2333
  import { useTable } from "@umriss-ui/table";
2344
2334
  ```
2345
2335
 
2346
- Demo page: https://romanhaendler.github.io/umriss-ui/table/width-and-pinning/
2347
-
2348
2336
  #### Examples
2349
2337
 
2350
2338
  ##### Let people set the width
@@ -2641,101 +2629,101 @@ export default function ALabelWiderThanItsColumn() {
2641
2629
 
2642
2630
  #### Props on this page
2643
2631
 
2644
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
2632
+ From `TableProps` — the full table stands on [First table](#first-table).
2645
2633
 
2646
2634
  | Prop | Type | Default | Description |
2647
2635
  |---|---|---|---|
2648
- | [`selectable`](#/first-table/TableProps-selectable) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
2649
- | [`stickyHeader`](#/first-table/TableProps-stickyHeader) | `boolean` | — | Keeps the header row visible while scrolling. |
2650
- | [`stickyRowHeader`](#/first-table/TableProps-stickyRowHeader) | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header. |
2651
- | [`maxHeight`](#/first-table/TableProps-maxHeight) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
2652
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
2636
+ | [`selectable`](#first-table) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
2637
+ | [`stickyHeader`](#first-table) | `boolean` | — | Keeps the header row visible while scrolling. |
2638
+ | [`stickyRowHeader`](#first-table) | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header. |
2639
+ | [`maxHeight`](#first-table) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
2640
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
2653
2641
 
2654
2642
  ###### Accessibility
2655
2643
 
2656
2644
  | Prop | Type | Default | Description |
2657
2645
  |---|---|---|---|
2658
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
2646
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
2659
2647
 
2660
2648
  ###### Styling
2661
2649
 
2662
2650
  | Prop | Type | Default | Description |
2663
2651
  |---|---|---|---|
2664
- | [`className`](#/first-table/TableProps-className) | `string` | — | Classes on the outer frame of the table. |
2652
+ | [`className`](#first-table) | `string` | — | Classes on the outer frame of the table. |
2665
2653
 
2666
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
2654
+ From `TableOptions` — the full table stands on [First table](#first-table).
2667
2655
 
2668
2656
  | Prop | Type | Default | Description |
2669
2657
  |---|---|---|---|
2670
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
2671
- | [`defaultSort`](#/first-table/TableOptions-defaultSort) | [`SortLevel`](#/first-table/type-SortLevel)` \| readonly `[`SortLevel`](#/first-table/type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
2658
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
2659
+ | [`defaultSort`](#first-table) | [`SortLevel`](#first-table)` \| readonly `[`SortLevel`](#first-table)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
2672
2660
 
2673
- From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
2661
+ From `TableSnapshot` — the full table stands on [First table](#first-table).
2674
2662
 
2675
2663
  | Prop | Type | Default | Description |
2676
2664
  |---|---|---|---|
2677
- | [`pinned`](#/first-table/TableSnapshot-pinned) *required* | `Readonly<Record<string, `[`Pin`](#/first-table/type-Pin)`>>` | — | The pinned columns by id - the declared ones until the user chooses. |
2678
- | [`setPin`](#/first-table/TableSnapshot-setPin) *required* | `(column: string, pin: `[`Pin`](#/first-table/type-Pin)` \| null) => void` | — | Pins a column to the start or the end, or unpins it with `null`. |
2679
- | [`widths`](#/first-table/TableSnapshot-widths) *required* | `Readonly<Record<string, number>>` | — | The widths in pixels: those of the columns, and over them the dragged ones. |
2680
- | [`setWidth`](#/first-table/TableSnapshot-setWidth) *required* | `(column: string, width: number \| undefined) => void` | — | Sets the width of a column; `undefined` takes it back. |
2665
+ | [`pinned`](#first-table) *required* | `Readonly<Record<string, `[`Pin`](#first-table)`>>` | — | The pinned columns by id - the declared ones until the user chooses. |
2666
+ | [`setPin`](#first-table) *required* | `(column: string, pin: `[`Pin`](#first-table)` \| null) => void` | — | Pins a column to the start or the end, or unpins it with `null`. |
2667
+ | [`widths`](#first-table) *required* | `Readonly<Record<string, number>>` | — | The widths in pixels: those of the columns, and over them the dragged ones. |
2668
+ | [`setWidth`](#first-table) *required* | `(column: string, width: number \| undefined) => void` | — | Sets the width of a column; `undefined` takes it back. |
2681
2669
 
2682
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
2670
+ From `FieldColumn` — the full table stands on [Column](#column).
2683
2671
 
2684
2672
  | Prop | Type | Default | Description |
2685
2673
  |---|---|---|---|
2686
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2687
- | [`filter`](#/column/FieldColumn-filter) | [`FilterFor`](#/column/type-FilterFor)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
2674
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2675
+ | [`filter`](#column) | [`FilterFor`](#column)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
2688
2676
 
2689
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
2677
+ From `ColumnBase` — the full table stands on [Column](#column).
2690
2678
 
2691
2679
  | Prop | Type | Default | Description |
2692
2680
  |---|---|---|---|
2693
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2694
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
2695
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
2696
- | [`resizable`](#/column/ColumnBase-resizable) | `boolean` | — | Shows the drag grip on the header cell. |
2697
- | [`pin`](#/column/ColumnBase-pin) | [`Pin`](#/column/type-Pin)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room. |
2698
- | [`sortable`](#/column/ColumnBase-sortable) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
2681
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2682
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
2683
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
2684
+ | [`resizable`](#column) | `boolean` | — | Shows the drag grip on the header cell. |
2685
+ | [`pin`](#column) | [`Pin`](#column)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room. |
2686
+ | [`sortable`](#column) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
2699
2687
 
2700
- From `RowDetailProps` — the full table stands on [RowDetail](#/rowdetail/type-RowDetailProps).
2688
+ From `RowDetailProps` — the full table stands on [RowDetail](#rowdetail).
2701
2689
 
2702
2690
  | Prop | Type | Default | Description |
2703
2691
  |---|---|---|---|
2704
- | [`children`](#/rowdetail/RowDetailProps-children) *required* | `(row: Z) => ReactNode` | — | What stands underneath an expanded row. |
2692
+ | [`children`](#rowdetail) *required* | `(row: Z) => ReactNode` | — | What stands underneath an expanded row. |
2705
2693
 
2706
- From `RowActionsProps` — the full table stands on [RowActions](#/rowactions/type-RowActionsProps).
2694
+ From `RowActionsProps` — the full table stands on [RowActions](#rowactions).
2707
2695
 
2708
2696
  | Prop | Type | Default | Description |
2709
2697
  |---|---|---|---|
2710
- | [`children`](#/rowactions/RowActionsProps-children) *required* | `ReactNode` | — | The row's `Action`s. |
2698
+ | [`children`](#rowactions) *required* | `ReactNode` | — | The row's `Action`s. |
2711
2699
 
2712
- From `ActionProps` — the full table stands on [RowActions](#/rowactions/type-ActionProps).
2700
+ From `ActionProps` — the full table stands on [RowActions](#rowactions).
2713
2701
 
2714
2702
  | Prop | Type | Default | Description |
2715
2703
  |---|---|---|---|
2716
- | [`children`](#/rowactions/ActionProps-children) *required* | `string` | — | The label – text, because it is read out together with the row's name. |
2704
+ | [`children`](#rowactions) *required* | `string` | — | The label – text, because it is read out together with the row's name. |
2717
2705
 
2718
2706
  ###### Events
2719
2707
 
2720
2708
  | Prop | Type | Default | Description |
2721
2709
  |---|---|---|---|
2722
- | [`onSelect`](#/rowactions/ActionProps-onSelect) *required* | `((row: Z) => void) \| ((rows: readonly Z[]) => void)` | — | Gets the row the action was triggered on. With `bulk` a list: at the row one made from it, in the table toolbar the selection. |
2710
+ | [`onSelect`](#rowactions) *required* | `((row: Z) => void) \| ((rows: readonly Z[]) => void)` | — | Gets the row the action was triggered on. With `bulk` a list: at the row one made from it, in the table toolbar the selection. |
2723
2711
 
2724
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
2712
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
2725
2713
 
2726
2714
  | Prop | Type | Default | Description |
2727
2715
  |---|---|---|---|
2728
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
2716
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
2729
2717
 
2730
- From `VerdictBase` — the full table stands on [VerdictColumn](#/verdictcolumn/type-VerdictBase).
2718
+ From `VerdictBase` — the full table stands on [VerdictColumn](#verdictcolumn).
2731
2719
 
2732
2720
  | Prop | Type | Default | Description |
2733
2721
  |---|---|---|---|
2734
- | [`label`](#/verdictcolumn/VerdictBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2735
- | [`limits`](#/verdictcolumn/VerdictBase-limits) *required* | [`LimitSet`](#/verdictcolumn/type-LimitSet) | — | The limit set every value is read against. |
2736
- | [`width`](#/verdictcolumn/VerdictBase-width) | `number` | the browser's | Initial width in pixels. |
2737
- | [`pin`](#/verdictcolumn/VerdictBase-pin) | [`Pin`](#/verdictcolumn/type-Pin)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways, before or after every other column. |
2738
- | [`aggregate`](#/verdictcolumn/VerdictBase-aggregate) | `"worst"` | — | `"worst"`: the worst verdict among the rows – in the footer and in a group's header. |
2722
+ | [`label`](#verdictcolumn) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2723
+ | [`limits`](#verdictcolumn) *required* | [`LimitSet`](#verdictcolumn) | — | The limit set every value is read against. |
2724
+ | [`width`](#verdictcolumn) | `number` | the browser's | Initial width in pixels. |
2725
+ | [`pin`](#verdictcolumn) | [`Pin`](#verdictcolumn)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways, before or after every other column. |
2726
+ | [`aggregate`](#verdictcolumn) | `"worst"` | — | `"worst"`: the worst verdict among the rows – in the footer and in a group's header. |
2739
2727
 
2740
2728
  ### Presets
2741
2729
 
@@ -2745,8 +2733,6 @@ A column written once and used in many tables: as a preset spread into a column,
2745
2733
  import { column } from "@umriss-ui/table";
2746
2734
  ```
2747
2735
 
2748
- Demo page: https://romanhaendler.github.io/umriss-ui/table/presets/
2749
-
2750
2736
  #### Examples
2751
2737
 
2752
2738
  ##### Share a column between tables
@@ -2861,70 +2847,70 @@ export default function Wrapper() {
2861
2847
 
2862
2848
  #### Keyboard
2863
2849
 
2864
- The keys of [First table](#/first-table/keyboard-first-table) apply here.
2850
+ The keys of [First table](#first-table) apply here.
2865
2851
 
2866
2852
  #### Props on this page
2867
2853
 
2868
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
2854
+ From `TableProps` — the full table stands on [First table](#first-table).
2869
2855
 
2870
2856
  | Prop | Type | Default | Description |
2871
2857
  |---|---|---|---|
2872
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
2858
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
2873
2859
 
2874
2860
  ###### Accessibility
2875
2861
 
2876
2862
  | Prop | Type | Default | Description |
2877
2863
  |---|---|---|---|
2878
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
2864
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
2879
2865
 
2880
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
2866
+ From `TableOptions` — the full table stands on [First table](#first-table).
2881
2867
 
2882
2868
  | Prop | Type | Default | Description |
2883
2869
  |---|---|---|---|
2884
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
2870
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
2885
2871
 
2886
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
2872
+ From `FieldColumn` — the full table stands on [Column](#column).
2887
2873
 
2888
2874
  | Prop | Type | Default | Description |
2889
2875
  |---|---|---|---|
2890
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2891
- | [`id`](#/column/FieldColumn-id) | `string` | — | An id of one's own instead of the field name – for two columns over the same field. |
2892
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
2893
- | [`filter`](#/column/FieldColumn-filter) | [`FilterFor`](#/column/type-FilterFor)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
2894
- | [`group`](#/column/FieldColumn-group) | [`GroupFor`](#/column/type-GroupFor)`<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`. |
2895
- | [`edit`](#/column/FieldColumn-edit) | [`EditFor`](#/column/type-EditFor)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
2896
- | [`editOptions`](#/column/FieldColumn-editOptions) | `readonly `[`Present`](#/column/type-Present)`<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`. |
2897
- | [`validate`](#/column/FieldColumn-validate) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
2898
- | [`children`](#/column/FieldColumn-children) | [`Presentation`](#/column/type-Presentation)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
2876
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2877
+ | [`id`](#column) | `string` | — | An id of one's own instead of the field name – for two columns over the same field. |
2878
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
2879
+ | [`filter`](#column) | [`FilterFor`](#column)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
2880
+ | [`group`](#column) | [`GroupFor`](#column)`<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`. |
2881
+ | [`edit`](#column) | [`EditFor`](#column)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
2882
+ | [`editOptions`](#column) | `readonly `[`Present`](#column)`<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`. |
2883
+ | [`validate`](#column) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
2884
+ | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
2899
2885
 
2900
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
2886
+ From `ColumnBase` — the full table stands on [Column](#column).
2901
2887
 
2902
2888
  | Prop | Type | Default | Description |
2903
2889
  |---|---|---|---|
2904
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2905
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
2906
- | [`numeric`](#/column/ColumnBase-numeric) | `boolean` | decided by the first value present | Right-aligned with tabular figures. |
2907
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
2908
- | [`resizable`](#/column/ColumnBase-resizable) | `boolean` | — | Shows the drag grip on the header cell. |
2909
- | [`pin`](#/column/ColumnBase-pin) | [`Pin`](#/column/type-Pin)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room. |
2910
- | [`sortable`](#/column/ColumnBase-sortable) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
2911
- | [`searchable`](#/column/ColumnBase-searchable) | `boolean` | `true` for text, `false` otherwise | Takes part in the search. |
2912
- | [`groupable`](#/column/ColumnBase-groupable) | `boolean` | `true` when its value is text, a number, a point in time or a boolean, or it has a `groupValue` | Can the table be grouped by this column? |
2890
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
2891
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
2892
+ | [`numeric`](#column) | `boolean` | decided by the first value present | Right-aligned with tabular figures. |
2893
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
2894
+ | [`resizable`](#column) | `boolean` | — | Shows the drag grip on the header cell. |
2895
+ | [`pin`](#column) | [`Pin`](#column)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room. |
2896
+ | [`sortable`](#column) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
2897
+ | [`searchable`](#column) | `boolean` | `true` for text, `false` otherwise | Takes part in the search. |
2898
+ | [`groupable`](#column) | `boolean` | `true` when its value is text, a number, a point in time or a boolean, or it has a `groupValue` | Can the table be grouped by this column? |
2913
2899
 
2914
- From `ValuePaths` — the full table stands on [Column](#/column/type-ValuePaths).
2900
+ From `ValuePaths` — the full table stands on [Column](#column).
2915
2901
 
2916
2902
  | Prop | Type | Default | Description |
2917
2903
  |---|---|---|---|
2918
- | [`sortValue`](#/column/ValuePaths-sortValue) | `(value: `[`Present`](#/column/type-Present)`<W>) => string \| number \| `[`Absent`](#/column/type-Absent) | — | What is sorted by, when not by the value itself. |
2919
- | [`exportValue`](#/column/ValuePaths-exportValue) | `(value: `[`Present`](#/column/type-Present)`<W>) => string \| number \| `[`Absent`](#/column/type-Absent) | — | What stands in the export, when not the value itself. |
2920
- | [`groupValue`](#/column/ValuePaths-groupValue) | `(value: `[`Present`](#/column/type-Present)`<W>) => string \| number \| boolean \| Date \| `[`Absent`](#/column/type-Absent) | — | What is grouped by, when not the value itself - a group header of a number, say. Rows whose group value is absent form a group of their own. |
2904
+ | [`sortValue`](#column) | `(value: `[`Present`](#column)`<W>) => string \| number \| `[`Absent`](#column) | — | What is sorted by, when not by the value itself. |
2905
+ | [`exportValue`](#column) | `(value: `[`Present`](#column)`<W>) => string \| number \| `[`Absent`](#column) | — | What stands in the export, when not the value itself. |
2906
+ | [`groupValue`](#column) | `(value: `[`Present`](#column)`<W>) => string \| number \| boolean \| Date \| `[`Absent`](#column) | — | What is grouped by, when not the value itself - a group header of a number, say. Rows whose group value is absent form a group of their own. |
2921
2907
 
2922
- From `AggregateOptions` — the full table stands on [Aggregate](#/aggregate/type-AggregateOptions).
2908
+ From `AggregateOptions` — the full table stands on [Aggregate](#aggregate).
2923
2909
 
2924
2910
  | Prop | Type | Default | Description |
2925
2911
  |---|---|---|---|
2926
- | [`aggregate`](#/aggregate/AggregateOptions-aggregate) | [`AggregateFor`](#/aggregate/type-AggregateFor)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
2927
- | [`share`](#/aggregate/AggregateOptions-share) | `boolean` | — | The share bar in a group's header – the group's share of the filtered set's sum. It stands under the first column with a sum, one per header; `false` passes it on to the next. |
2912
+ | [`aggregate`](#aggregate) | [`AggregateFor`](#aggregate)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
2913
+ | [`share`](#aggregate) | `boolean` | — | The share bar in a group's header – the group's share of the filtered set's sum. It stands under the first column with a sum, one per header; `false` passes it on to the next. |
2928
2914
 
2929
2915
  ## Finding rows
2930
2916
 
@@ -2938,8 +2924,6 @@ Order the rows by a column, and by further columns where the first ties. Reach f
2938
2924
  import { useTable } from "@umriss-ui/table";
2939
2925
  ```
2940
2926
 
2941
- Demo page: https://romanhaendler.github.io/umriss-ui/table/sorting/
2942
-
2943
2927
  #### Examples
2944
2928
 
2945
2929
  ##### Sort by several columns
@@ -3045,66 +3029,66 @@ export default function OwnOrdering() {
3045
3029
 
3046
3030
  #### Props on this page
3047
3031
 
3048
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
3032
+ From `TableProps` — the full table stands on [First table](#first-table).
3049
3033
 
3050
3034
  | Prop | Type | Default | Description |
3051
3035
  |---|---|---|---|
3052
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
3036
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
3053
3037
 
3054
3038
  ###### Accessibility
3055
3039
 
3056
3040
  | Prop | Type | Default | Description |
3057
3041
  |---|---|---|---|
3058
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
3042
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
3059
3043
 
3060
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
3044
+ From `TableOptions` — the full table stands on [First table](#first-table).
3061
3045
 
3062
3046
  | Prop | Type | Default | Description |
3063
3047
  |---|---|---|---|
3064
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
3065
- | [`defaultSort`](#/first-table/TableOptions-defaultSort) | [`SortLevel`](#/first-table/type-SortLevel)` \| readonly `[`SortLevel`](#/first-table/type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
3048
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
3049
+ | [`defaultSort`](#first-table) | [`SortLevel`](#first-table)` \| readonly `[`SortLevel`](#first-table)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
3066
3050
 
3067
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
3051
+ From `FieldColumn` — the full table stands on [Column](#column).
3068
3052
 
3069
3053
  | Prop | Type | Default | Description |
3070
3054
  |---|---|---|---|
3071
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
3072
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
3073
- | [`children`](#/column/FieldColumn-children) | [`Presentation`](#/column/type-Presentation)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
3055
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
3056
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
3057
+ | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
3074
3058
 
3075
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
3059
+ From `ColumnBase` — the full table stands on [Column](#column).
3076
3060
 
3077
3061
  | Prop | Type | Default | Description |
3078
3062
  |---|---|---|---|
3079
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
3080
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
3063
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
3064
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
3081
3065
 
3082
- From `ValuePaths` — the full table stands on [Column](#/column/type-ValuePaths).
3066
+ From `ValuePaths` — the full table stands on [Column](#column).
3083
3067
 
3084
3068
  | Prop | Type | Default | Description |
3085
3069
  |---|---|---|---|
3086
- | [`sortValue`](#/column/ValuePaths-sortValue) | `(value: `[`Present`](#/column/type-Present)`<W>) => string \| number \| `[`Absent`](#/column/type-Absent) | — | What is sorted by, when not by the value itself. |
3087
- | [`exportValue`](#/column/ValuePaths-exportValue) | `(value: `[`Present`](#/column/type-Present)`<W>) => string \| number \| `[`Absent`](#/column/type-Absent) | — | What stands in the export, when not the value itself. |
3070
+ | [`sortValue`](#column) | `(value: `[`Present`](#column)`<W>) => string \| number \| `[`Absent`](#column) | — | What is sorted by, when not by the value itself. |
3071
+ | [`exportValue`](#column) | `(value: `[`Present`](#column)`<W>) => string \| number \| `[`Absent`](#column) | — | What stands in the export, when not the value itself. |
3088
3072
 
3089
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
3073
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
3090
3074
 
3091
3075
  | Prop | Type | Default | Description |
3092
3076
  |---|---|---|---|
3093
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
3077
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
3094
3078
 
3095
- From `ExportProps` — the full table stands on [Export](#/export/type-ExportProps).
3079
+ From `ExportProps` — the full table stands on [Export](#export).
3096
3080
 
3097
3081
  ###### Events
3098
3082
 
3099
3083
  | Prop | Type | Default | Description |
3100
3084
  |---|---|---|---|
3101
- | [`onExport`](#/export/ExportProps-onExport) | `(text: string) => void` | — | Gets the text instead of triggering a file. |
3085
+ | [`onExport`](#export) | `(text: string) => void` | — | Gets the text instead of triggering a file. |
3102
3086
 
3103
3087
  #### Known limits
3104
3088
 
3105
- - In [server mode](#/server-mode) the table sorts nothing itself; the sort goes to the server in the request.
3089
+ - In [server mode](#server-mode) the table sorts nothing itself; the sort goes to the server in the request.
3106
3090
 
3107
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
3091
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
3108
3092
 
3109
3093
  ### Search
3110
3094
 
@@ -3114,8 +3098,6 @@ A text field that narrows the table to the rows containing what the user types (
3114
3098
  import { Search } from "@umriss-ui/table";
3115
3099
  ```
3116
3100
 
3117
- Demo page: https://romanhaendler.github.io/umriss-ui/table/search/
3118
-
3119
3101
  It searches the columns whose value is text, and it searches the value, not its presentation; `searchable` on a column adds or removes one. A search term goes back to page one and counts as a restriction – the toolbar shows the matches and “Reset” – but it is not listed as a condition, since the field already shows it.
3120
3102
 
3121
3103
  #### Examples
@@ -3275,7 +3257,7 @@ export default function SearchTakesTheLine() {
3275
3257
 
3276
3258
  #### Keyboard
3277
3259
 
3278
- The keys of [First table](#/first-table/keyboard-first-table) and [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input) apply here.
3260
+ The keys of [First table](#first-table) and Input apply here.
3279
3261
 
3280
3262
  #### API
3281
3263
 
@@ -3283,16 +3265,16 @@ The keys of [First table](#/first-table/keyboard-first-table) and [Input](https:
3283
3265
 
3284
3266
  | Prop | Type | Default | Description |
3285
3267
  |---|---|---|---|
3286
- | `placeholder` | `string` | the wording's "Search …" | The placeholder in the field.<br>Shown in: [Find a person](#/search/find-a-person), [Leave a column out](#/search/leave-a-column-out), [Search from a card header](#/search/search-from-a-card-header) and 23 more |
3287
- | `size` | [`ToolbarSize`](#type-ToolbarSize)<br>`"sm" \| "md"` | the size of the toolbar it stands in, `"sm"` outside one | The size of the part: `sm` or `md`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar) |
3288
- | `grow` | `boolean` | `false` | Take the rest of the toolbar's line: the parts after the search - column menu, export - stand at its end.<br>Shown in: [Search takes the line](#/search/search-takes-the-line) |
3289
- | `of` | [`TableRef`](#type-TableRef) | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Search from a card header](#/search/search-from-a-card-header), [Place it outside the table (Toolbar)](#/toolbar/place-it-outside), [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar) and 1 more |
3268
+ | `placeholder` | `string` | the wording's "Search …" | The placeholder in the field.<br>Shown in: [Find a person](#search), [Leave a column out](#search), [Search from a card header](#search) and 23 more |
3269
+ | `size` | `ToolbarSize`<br>`"sm" \| "md"` | the size of the toolbar it stands in, `"sm"` outside one | The size of the part: `sm` or `md`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#toolbar) |
3270
+ | `grow` | `boolean` | `false` | Take the rest of the toolbar's line: the parts after the search - column menu, export - stand at its end.<br>Shown in: [Search takes the line](#search) |
3271
+ | `of` | `TableRef` | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Search from a card header](#search), [Place it outside the table (Toolbar)](#toolbar), [Parts outside a toolbar (Toolbar)](#toolbar) and 1 more |
3290
3272
 
3291
3273
  ###### Accessibility
3292
3274
 
3293
3275
  | Prop | Type | Default | Description |
3294
3276
  |---|---|---|---|
3295
- | `aria-label` | `string` | the wording's "Search table" | Accessible name.<br>Shown in: [Search from a card header](#/search/search-from-a-card-header) |
3277
+ | `aria-label` | `string` | the wording's "Search table" | Accessible name.<br>Shown in: [Search from a card header](#search) |
3296
3278
 
3297
3279
  ###### Styling
3298
3280
 
@@ -3324,9 +3306,9 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
3324
3306
 
3325
3307
  #### Known limits
3326
3308
 
3327
- - In [server mode](#/server-mode) the table searches nothing itself; the term goes to the server in the request.
3309
+ - In [server mode](#server-mode) the table searches nothing itself; the term goes to the server in the request.
3328
3310
 
3329
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
3311
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
3330
3312
 
3331
3313
  ### Filter
3332
3314
 
@@ -3336,8 +3318,6 @@ Narrow a column to some of its values: those that occur, a range between two bou
3336
3318
  import { columnFilter, rowFilter } from "@umriss-ui/table";
3337
3319
  ```
3338
3320
 
3339
- Demo page: https://romanhaendler.github.io/umriss-ui/table/filter/
3340
-
3341
3321
  Every condition stands in the table toolbar with the count of matches, a cross to lift it and “Reset” for all. A click on a condition opens its filter again.
3342
3322
 
3343
3323
  An absent value matches no condition. The list filter offers only values the pre-filter admits, so it never gives away rows a user may not see.
@@ -3417,7 +3397,7 @@ export default function RangeFilter() {
3417
3397
 
3418
3398
  ##### Write the smallest filter of your own
3419
3399
 
3420
- [`columnFilter`](#/api/columnFilter) takes `matches`, `describe` and the `Input` for the panel; the header funnel, the panel and the condition come from the table.
3400
+ [`columnFilter`](#api-index-1) takes `matches`, `describe` and the `Input` for the panel; the header funnel, the panel and the condition come from the table.
3421
3401
 
3422
3402
  ```tsx
3423
3403
  import { Checkbox } from "@umriss-ui/core";
@@ -4302,7 +4282,7 @@ export default function OfferTheValuesThatOccur() {
4302
4282
 
4303
4283
  #### Keyboard
4304
4284
 
4305
- The keys of [First table](#/first-table/keyboard-first-table), [Popover](https://romanhaendler.github.io/umriss-ui/core/popover/#keyboard-popover), [Checkbox](https://romanhaendler.github.io/umriss-ui/core/checkbox/#keyboard-checkbox), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [MultiSelect](https://romanhaendler.github.io/umriss-ui/core/multiselect/#keyboard-multiselect), [Select](https://romanhaendler.github.io/umriss-ui/core/select/#keyboard-select) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
4285
+ The keys of [First table](#first-table), Popover, Checkbox, Input, MultiSelect, Select and Button apply here.
4306
4286
 
4307
4287
  #### API
4308
4288
 
@@ -4310,27 +4290,27 @@ The keys of [First table](#/first-table/keyboard-first-table), [Popover](https:/
4310
4290
 
4311
4291
  | Prop | Type | Default | Description |
4312
4292
  |---|---|---|---|
4313
- | `matches` *required* | `(value: `[`Present`](#type-Present)`<W>, condition: B) => boolean` | — | Whether a value that is present satisfies the condition. Never called for an absent value: that satisfies none.<br>Shown in: [Write the smallest filter of your own](#/filter/own-filter-minimal), [Offer conditions of your own](#/filter/own-filter), [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4314
- | `Input` *required* | `ComponentType<`[`FilterInputProps`](#type-FilterInputProps)`<W, B>>` | — | What stands in the filter's panel. The footer with "reset" and "done" the table puts underneath it.<br>Shown in: [Write the smallest filter of your own](#/filter/own-filter-minimal), [Offer conditions of your own](#/filter/own-filter), [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4315
- | `describe` *required* | `(condition: B) => string` | — | The text of the condition in the table toolbar, behind the column's name.<br>Shown in: [Write the smallest filter of your own](#/filter/own-filter-minimal), [Offer conditions of your own](#/filter/own-filter), [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4293
+ | `matches` *required* | `(value: ``Present``<W>, condition: B) => boolean` | — | Whether a value that is present satisfies the condition. Never called for an absent value: that satisfies none.<br>Shown in: [Write the smallest filter of your own](#filter), [Offer conditions of your own](#filter), [Offer the values that occur](#filter) |
4294
+ | `Input` *required* | `ComponentType<``FilterInputProps``<W, B>>` | — | What stands in the filter's panel. The footer with "reset" and "done" the table puts underneath it.<br>Shown in: [Write the smallest filter of your own](#filter), [Offer conditions of your own](#filter), [Offer the values that occur](#filter) |
4295
+ | `describe` *required* | `(condition: B) => string` | — | The text of the condition in the table toolbar, behind the column's name.<br>Shown in: [Write the smallest filter of your own](#filter), [Offer conditions of your own](#filter), [Offer the values that occur](#filter) |
4316
4296
 
4317
4297
  ##### `FilterInputProps<W, B>`
4318
4298
 
4319
4299
  | Prop | Type | Default | Description |
4320
4300
  |---|---|---|---|
4321
- | `condition` *required* | `B \| null` | — | The condition that holds right now; `null` as long as the filter requires nothing.<br>Shown in: [Write the smallest filter of your own](#/filter/own-filter-minimal), [Offer conditions of your own](#/filter/own-filter), [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4322
- | `setCondition` *required* | `(condition: B \| null) => void` | — | Sets the condition; `null` lifts it.<br>Shown in: [Write the smallest filter of your own](#/filter/own-filter-minimal), [Offer conditions of your own](#/filter/own-filter), [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4323
- | `values` *required* | `readonly `[`Present`](#type-Present)`<W>[]` | — | The values that occur in the rows the pre-filter admits – each one once, ordered, without the absent one.<br>Shown in: [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4324
- | `column` *required* | `{ id: string; label: string }` | — | The column whose filter this is.<br>Shown in: [Offer conditions of your own](#/filter/own-filter), [Offer the values that occur](#/filter/offer-the-values-that-occur) |
4301
+ | `condition` *required* | `B \| null` | — | The condition that holds right now; `null` as long as the filter requires nothing.<br>Shown in: [Write the smallest filter of your own](#filter), [Offer conditions of your own](#filter), [Offer the values that occur](#filter) |
4302
+ | `setCondition` *required* | `(condition: B \| null) => void` | — | Sets the condition; `null` lifts it.<br>Shown in: [Write the smallest filter of your own](#filter), [Offer conditions of your own](#filter), [Offer the values that occur](#filter) |
4303
+ | `values` *required* | `readonly ``Present``<W>[]` | — | The values that occur in the rows the pre-filter admits – each one once, ordered, without the absent one.<br>Shown in: [Offer the values that occur](#filter) |
4304
+ | `column` *required* | `{ id: string; label: string }` | — | The column whose filter this is.<br>Shown in: [Offer conditions of your own](#filter), [Offer the values that occur](#filter) |
4325
4305
 
4326
4306
  ##### `RowFilter<Z, B>`
4327
4307
 
4328
4308
  | Prop | Type | Default | Description |
4329
4309
  |---|---|---|---|
4330
- | `id` *required* | `string` | — | Its name in `t.view.conditions` and in what server mode reports - the one place the filter is spelled. Not the id of a column of the same table.<br>Shown in: [Filter by a field no column shows](#/filter/a-field-no-column-shows), [Rows from a request](#/filter/rows-from-a-request), [Ask a question over several fields](#/filter/a-question-over-several-fields) and 3 more |
4331
- | `label` *required* | `string` | — | What it is called: before the text of its chip, and in the chip's accessible names.<br>Shown in: [Filter by a field no column shows](#/filter/a-field-no-column-shows), [Rows from a request](#/filter/rows-from-a-request), [Ask a question over several fields](#/filter/a-question-over-several-fields) and 3 more |
4332
- | `matches` *required* | `(row: Z, condition: B) => boolean` | — | Whether the row satisfies the condition. Any question over the whole row; whatever varies belongs in the condition - the table cannot see a change in a closure.<br>Shown in: [Filter by a field no column shows](#/filter/a-field-no-column-shows), [Rows from a request](#/filter/rows-from-a-request), [Ask a question over several fields](#/filter/a-question-over-several-fields) and 3 more |
4333
- | `describe` | `(condition: B) => string` | — | The text of the condition in the table toolbar, behind the label. Without it the condition has no chip: the application's control shows it.<br>Shown in: [Ask a question over several fields](#/filter/a-question-over-several-fields), [A dispatcher's bar (Toolbar controls)](#/toolbar-controls/a-dispatcher-s-bar) |
4310
+ | `id` *required* | `string` | — | Its name in `t.view.conditions` and in what server mode reports - the one place the filter is spelled. Not the id of a column of the same table.<br>Shown in: [Filter by a field no column shows](#filter), [Rows from a request](#filter), [Ask a question over several fields](#filter) and 3 more |
4311
+ | `label` *required* | `string` | — | What it is called: before the text of its chip, and in the chip's accessible names.<br>Shown in: [Filter by a field no column shows](#filter), [Rows from a request](#filter), [Ask a question over several fields](#filter) and 3 more |
4312
+ | `matches` *required* | `(row: Z, condition: B) => boolean` | — | Whether the row satisfies the condition. Any question over the whole row; whatever varies belongs in the condition - the table cannot see a change in a closure.<br>Shown in: [Filter by a field no column shows](#filter), [Rows from a request](#filter), [Ask a question over several fields](#filter) and 3 more |
4313
+ | `describe` | `(condition: B) => string` | — | The text of the condition in the table toolbar, behind the label. Without it the condition has no chip: the application's control shows it.<br>Shown in: [Ask a question over several fields](#filter), [A dispatcher's bar (Toolbar controls)](#toolbar-controls) |
4334
4314
 
4335
4315
  ##### Types on this page
4336
4316
 
@@ -4353,9 +4333,9 @@ type Absent = null | undefined;
4353
4333
  #### Known limits
4354
4334
 
4355
4335
  - No text filter per column: the search covers text.
4356
- - In [server mode](#/server-mode) a list filter offers what the application names; the table cannot count values it does not hold.
4336
+ - In [server mode](#server-mode) a list filter offers what the application names; the table cannot count values it does not hold.
4357
4337
 
4358
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
4338
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
4359
4339
 
4360
4340
  ### Pre-filter
4361
4341
 
@@ -4365,8 +4345,6 @@ Decide which rows a table has at all – by permission, by site, by tenant. The
4365
4345
  import { useTable } from "@umriss-ui/table";
4366
4346
  ```
4367
4347
 
4368
- Demo page: https://romanhaendler.github.io/umriss-ui/table/pre-filter/
4369
-
4370
4348
  #### Examples
4371
4349
 
4372
4350
  ##### Restrict which rows a table has
@@ -4434,62 +4412,62 @@ export default function PreFilter() {
4434
4412
 
4435
4413
  #### Keyboard
4436
4414
 
4437
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [Select](https://romanhaendler.github.io/umriss-ui/core/select/#keyboard-select) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
4415
+ The keys of [First table](#first-table), Input, Select and Button apply here.
4438
4416
 
4439
4417
  #### Props on this page
4440
4418
 
4441
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
4419
+ From `TableProps` — the full table stands on [First table](#first-table).
4442
4420
 
4443
4421
  | Prop | Type | Default | Description |
4444
4422
  |---|---|---|---|
4445
- | [`empty`](#/first-table/TableProps-empty) | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back. |
4446
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
4423
+ | [`empty`](#first-table) | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back. |
4424
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
4447
4425
 
4448
4426
  ###### Accessibility
4449
4427
 
4450
4428
  | Prop | Type | Default | Description |
4451
4429
  |---|---|---|---|
4452
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
4430
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
4453
4431
 
4454
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
4432
+ From `TableOptions` — the full table stands on [First table](#first-table).
4455
4433
 
4456
4434
  | Prop | Type | Default | Description |
4457
4435
  |---|---|---|---|
4458
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
4459
- | [`pageSize`](#/first-table/TableOptions-pageSize) | `number` | `10` | How many rows a page holds. |
4460
- | [`preFilter`](#/first-table/TableOptions-preFilter) | `(row: Z) => boolean` | — | Which rows the table has at all – by permission, by tenant, by anything the user is not meant to undo. It is invisible: never a condition, never reset, never part of the view, and "43 of 1,204" counts only the rows it admits. It may stand in the call; a change leaves the page standing, and the model clamps it. |
4436
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
4437
+ | [`pageSize`](#first-table) | `number` | `10` | How many rows a page holds. |
4438
+ | [`preFilter`](#first-table) | `(row: Z) => boolean` | — | Which rows the table has at all – by permission, by tenant, by anything the user is not meant to undo. It is invisible: never a condition, never reset, never part of the view, and "43 of 1,204" counts only the rows it admits. It may stand in the call; a change leaves the page standing, and the model clamps it. |
4461
4439
 
4462
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
4440
+ From `FieldColumn` — the full table stands on [Column](#column).
4463
4441
 
4464
4442
  | Prop | Type | Default | Description |
4465
4443
  |---|---|---|---|
4466
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
4467
- | [`filter`](#/column/FieldColumn-filter) | [`FilterFor`](#/column/type-FilterFor)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
4444
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
4445
+ | [`filter`](#column) | [`FilterFor`](#column)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
4468
4446
 
4469
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
4447
+ From `ColumnBase` — the full table stands on [Column](#column).
4470
4448
 
4471
4449
  | Prop | Type | Default | Description |
4472
4450
  |---|---|---|---|
4473
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
4474
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
4451
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
4452
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
4475
4453
 
4476
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
4454
+ From `SearchProps` — the full table stands on [Search](#search).
4477
4455
 
4478
4456
  | Prop | Type | Default | Description |
4479
4457
  |---|---|---|---|
4480
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
4458
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
4481
4459
 
4482
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
4460
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
4483
4461
 
4484
4462
  | Prop | Type | Default | Description |
4485
4463
  |---|---|---|---|
4486
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
4464
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
4487
4465
 
4488
- From `PaginationProps` — the full table stands on [Pagination](#/pagination/type-PaginationProps).
4466
+ From `PaginationProps` — the full table stands on [Pagination](#pagination).
4489
4467
 
4490
4468
  | Prop | Type | Default | Description |
4491
4469
  |---|---|---|---|
4492
- | [`pageSizes`](#/pagination/PaginationProps-pageSizes) | `readonly number[]` | `[10, 25, 50]` | The selectable page sizes. |
4470
+ | [`pageSizes`](#pagination) | `readonly number[]` | `[10, 25, 50]` | The selectable page sizes. |
4493
4471
 
4494
4472
  ## Grouping
4495
4473
 
@@ -4503,8 +4481,6 @@ Gather rows that share a value under one header with their count and totals (als
4503
4481
  import { useTable } from "@umriss-ui/table";
4504
4482
  ```
4505
4483
 
4506
- Demo page: https://romanhaendler.github.io/umriss-ui/table/grouping/
4507
-
4508
4484
  The outer levels become header rows that carry every total under its column; the innermost of several levels stands as a span beside its rows. The form follows the level, never the data ([ADR-0029](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0029-a-row-groups-form-follows-its-level.md)).
4509
4485
 
4510
4486
  Grouping comes after search and filters: a group holds what they leave, and its totals are taken from its rows, never from the groups inside it.
@@ -5643,15 +5619,15 @@ export default function GroupAndFoldFromControls() {
5643
5619
 
5644
5620
  | Prop | Type | Default | Description |
5645
5621
  |---|---|---|---|
5646
- | `label` *required* | `string` | — | Names the group key where a grouping is chosen, and in the grouping's tag in the table toolbar.<br>Shown in: [Group by a value that is no column](#/grouping/a-key-that-is-no-column), [Group twenty thousand rows](#/grouping/twenty-thousand-rows), [Read a day's deliveries by depot](#/grouping/the-dispatch-report) |
5622
+ | `label` *required* | `string` | — | Names the group key where a grouping is chosen, and in the grouping's tag in the table toolbar.<br>Shown in: [Group by a value that is no column](#grouping-1), [Group twenty thousand rows](#grouping-1), [Read a day's deliveries by depot](#grouping-1) |
5647
5623
 
5648
5624
  #### Known limits
5649
5625
 
5650
- - No pivot and no more than three levels ([ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/)).
5626
+ - No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md)).
5651
5627
  - No bar to drag headers onto: grouping is chosen in the column menu.
5652
- - No groups in [server mode](#/server-mode): they would be made of one page.
5628
+ - No groups in [server mode](#server-mode): they would be made of one page.
5653
5629
 
5654
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
5630
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
5655
5631
 
5656
5632
  ### Tree rows
5657
5633
 
@@ -5661,8 +5637,6 @@ Rows that hold rows: a hierarchy of any number of levels whose every level carri
5661
5637
  import { useTable } from "@umriss-ui/table";
5662
5638
  ```
5663
5639
 
5664
- Demo page: https://romanhaendler.github.io/umriss-ui/table/tree-rows/
5665
-
5666
5640
  `childRows` names the children of a row; the rows passed in are the roots. Every row with children gets a fold in the first column, and the next level stands beneath it, indented.
5667
5641
 
5668
5642
  The figures of a row are the application's: the table sums nothing for a branch. The footer sums the top level only, since a parent already holds its children.
@@ -6190,74 +6164,74 @@ export default function OpenBranchesFromControls() {
6190
6164
 
6191
6165
  #### Props on this page
6192
6166
 
6193
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
6167
+ From `TableProps` — the full table stands on [First table](#first-table).
6194
6168
 
6195
6169
  | Prop | Type | Default | Description |
6196
6170
  |---|---|---|---|
6197
- | [`density`](#/first-table/TableProps-density) | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand. |
6198
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
6171
+ | [`density`](#first-table) | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand. |
6172
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
6199
6173
 
6200
6174
  ###### Accessibility
6201
6175
 
6202
6176
  | Prop | Type | Default | Description |
6203
6177
  |---|---|---|---|
6204
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
6178
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
6205
6179
 
6206
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
6180
+ From `TableOptions` — the full table stands on [First table](#first-table).
6207
6181
 
6208
6182
  | Prop | Type | Default | Description |
6209
6183
  |---|---|---|---|
6210
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
6211
- | [`defaultSort`](#/first-table/TableOptions-defaultSort) | [`SortLevel`](#/first-table/type-SortLevel)` \| readonly `[`SortLevel`](#/first-table/type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
6184
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
6185
+ | [`defaultSort`](#first-table) | [`SortLevel`](#first-table)` \| readonly `[`SortLevel`](#first-table)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
6212
6186
 
6213
- From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
6187
+ From `TableSnapshot` — the full table stands on [First table](#first-table).
6214
6188
 
6215
6189
  | Prop | Type | Default | Description |
6216
6190
  |---|---|---|---|
6217
- | [`branches`](#/first-table/TableSnapshot-branches) *required* | `readonly string[]` | — | Tree rows: the keys of the open branches. |
6218
- | [`toggleBranch`](#/first-table/TableSnapshot-toggleBranch) *required* | `(key: string) => void` | — | Tree rows: opens a branch or closes it. |
6219
- | [`unfoldAllBranches`](#/first-table/TableSnapshot-unfoldAllBranches) *required* | `() => void` | — | Tree rows: opens every branch that has children. |
6220
- | [`foldAllBranches`](#/first-table/TableSnapshot-foldAllBranches) *required* | `() => void` | — | Tree rows: closes every branch. |
6191
+ | [`branches`](#first-table) *required* | `readonly string[]` | — | Tree rows: the keys of the open branches. |
6192
+ | [`toggleBranch`](#first-table) *required* | `(key: string) => void` | — | Tree rows: opens a branch or closes it. |
6193
+ | [`unfoldAllBranches`](#first-table) *required* | `() => void` | — | Tree rows: opens every branch that has children. |
6194
+ | [`foldAllBranches`](#first-table) *required* | `() => void` | — | Tree rows: closes every branch. |
6221
6195
 
6222
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
6196
+ From `FieldColumn` — the full table stands on [Column](#column).
6223
6197
 
6224
6198
  | Prop | Type | Default | Description |
6225
6199
  |---|---|---|---|
6226
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
6200
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
6227
6201
 
6228
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
6202
+ From `ColumnBase` — the full table stands on [Column](#column).
6229
6203
 
6230
6204
  | Prop | Type | Default | Description |
6231
6205
  |---|---|---|---|
6232
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
6233
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
6234
- | [`searchable`](#/column/ColumnBase-searchable) | `boolean` | `true` for text, `false` otherwise | Takes part in the search. |
6206
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
6207
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
6208
+ | [`searchable`](#column) | `boolean` | `true` for text, `false` otherwise | Takes part in the search. |
6235
6209
 
6236
- From `AggregateOptions` — the full table stands on [Aggregate](#/aggregate/type-AggregateOptions).
6210
+ From `AggregateOptions` — the full table stands on [Aggregate](#aggregate).
6237
6211
 
6238
6212
  | Prop | Type | Default | Description |
6239
6213
  |---|---|---|---|
6240
- | [`aggregate`](#/aggregate/AggregateOptions-aggregate) | [`AggregateFor`](#/aggregate/type-AggregateFor)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
6214
+ | [`aggregate`](#aggregate) | [`AggregateFor`](#aggregate)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
6241
6215
 
6242
- From `RowDetailProps` — the full table stands on [RowDetail](#/rowdetail/type-RowDetailProps).
6216
+ From `RowDetailProps` — the full table stands on [RowDetail](#rowdetail).
6243
6217
 
6244
6218
  | Prop | Type | Default | Description |
6245
6219
  |---|---|---|---|
6246
- | [`children`](#/rowdetail/RowDetailProps-children) *required* | `(row: Z) => ReactNode` | — | What stands underneath an expanded row. |
6220
+ | [`children`](#rowdetail) *required* | `(row: Z) => ReactNode` | — | What stands underneath an expanded row. |
6247
6221
 
6248
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
6222
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
6249
6223
 
6250
6224
  | Prop | Type | Default | Description |
6251
6225
  |---|---|---|---|
6252
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
6226
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
6253
6227
 
6254
6228
  #### Known limits
6255
6229
 
6256
6230
  - Not with grouping or pagination: both would build or cut levels a second way. A large tree uses virtualisation.
6257
- - Not in [server mode](#/server-mode), and no branches loaded on demand yet.
6231
+ - Not in [server mode](#server-mode), and no branches loaded on demand yet.
6258
6232
  - One column set for every level; a level without a value shows it as absent.
6259
6233
 
6260
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
6234
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
6261
6235
 
6262
6236
  ### Aggregate
6263
6237
 
@@ -6267,8 +6241,6 @@ What a column's values come to: a sum, an average, the extremes, a count. It sta
6267
6241
  import { useTable } from "@umriss-ui/table";
6268
6242
  ```
6269
6243
 
6270
- Demo page: https://romanhaendler.github.io/umriss-ui/table/aggregate/
6271
-
6272
6244
  An aggregate is always computed from rows: a group's average is over its rows, not over the averages of the groups inside it. Absent values do not count.
6273
6245
 
6274
6246
  A rate or a weighted average is the application's to say, with an aggregate of its own.
@@ -6613,13 +6585,69 @@ export default function WorstVerdict() {
6613
6585
  }
6614
6586
  ```
6615
6587
 
6588
+ ##### A matrix with row and column totals
6589
+
6590
+ Pivot the facts into rows, then map one computed column per year from the data, `key` by the year. An accessor closes only over what is constant for its column, so the row total is a field of the row, not a function over the years: it stays right when a year arrives.
6591
+
6592
+ ```tsx
6593
+ import { useTable } from "@umriss-ui/table";
6594
+
6595
+ interface Fact {
6596
+ plant: string;
6597
+ year: number;
6598
+ tonnes: number;
6599
+ }
6600
+
6601
+ interface Row {
6602
+ plant: string;
6603
+ byYear: Record<number, number>;
6604
+ total: number;
6605
+ }
6606
+
6607
+ const FACTS: Fact[] = [
6608
+ { plant: "Ulm", year: 2024, tonnes: 410 },
6609
+ { plant: "Ulm", year: 2025, tonnes: 435 },
6610
+ { plant: "Ulm", year: 2026, tonnes: 452 },
6611
+ { plant: "Hof", year: 2024, tonnes: 220 },
6612
+ { plant: "Hof", year: 2026, tonnes: 205 },
6613
+ { plant: "Kiel", year: 2025, tonnes: 310 },
6614
+ { plant: "Kiel", year: 2026, tonnes: 342 },
6615
+ ];
6616
+
6617
+ /** One row per plant, its cells keyed by year, its total as a field. */
6618
+ function pivot(facts: Fact[]) {
6619
+ const rows = new Map<string, Row>();
6620
+ for (const f of facts) {
6621
+ const row = rows.get(f.plant) ?? { plant: f.plant, byYear: {}, total: 0 };
6622
+ row.byYear[f.year] = (row.byYear[f.year] ?? 0) + f.tonnes;
6623
+ row.total += f.tonnes;
6624
+ rows.set(f.plant, row);
6625
+ }
6626
+ return { rows: [...rows.values()], years: [...new Set(facts.map((f) => f.year))].sort() };
6627
+ }
6628
+
6629
+ export default function MatrixWithTotals() {
6630
+ const { rows, years } = pivot(FACTS);
6631
+ const { Table, Column } = useTable(rows, { rowKey: (r) => r.plant });
6632
+ return (
6633
+ <Table ariaLabel="Output by plant and year">
6634
+ <Column value="plant" label="Plant" rowHeader />
6635
+ {years.map((y) => (
6636
+ <Column key={y} id={`y${y}`} label={String(y)} value={(r: Row) => r.byYear[y]} aggregate="sum" format="count" filter="range" />
6637
+ ))}
6638
+ <Column value="total" label="Total" aggregate="sum" format="count" />
6639
+ </Table>
6640
+ );
6641
+ }
6642
+ ```
6643
+
6616
6644
  #### When to use something else
6617
6645
 
6618
6646
  - A key figure outside the table → `Stat` from @umriss-ui/core
6619
6647
 
6620
6648
  #### Keyboard
6621
6649
 
6622
- The keys of [First table](#/first-table/keyboard-first-table) and [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input) apply here.
6650
+ The keys of [First table](#first-table) and Input apply here.
6623
6651
 
6624
6652
  #### API
6625
6653
 
@@ -6627,8 +6655,8 @@ The keys of [First table](#/first-table/keyboard-first-table) and [Input](https:
6627
6655
 
6628
6656
  | Prop | Type | Default | Description |
6629
6657
  |---|---|---|---|
6630
- | `aggregate` | [`AggregateFor`](#type-AggregateFor)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing.<br>Shown in: [Total a column](#/aggregate/sum-and-average), [Find the extremes](#/aggregate/minimum-and-maximum), [Show a range of dates](#/aggregate/range-of-dates) and 34 more |
6631
- | `share` | `boolean` | — | The share bar in a group's header – the group's share of the filtered set's sum. It stands under the first column with a sum, one per header; `false` passes it on to the next.<br>Shown in: [Show each group's share](#/aggregate/share-bar), [Weight a rate by its rows](#/aggregate/never-an-average-of-averages), [Share a column between tables (Presets)](#/presets/presets) and 2 more |
6658
+ | `aggregate` | `AggregateFor``<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing.<br>Shown in: [Total a column](#aggregate), [Find the extremes](#aggregate), [Show a range of dates](#aggregate) and 35 more |
6659
+ | `share` | `boolean` | — | The share bar in a group's header – the group's share of the filtered set's sum. It stands under the first column with a sum, one per header; `false` passes it on to the next.<br>Shown in: [Show each group's share](#aggregate), [Weight a rate by its rows](#aggregate), [Share a column between tables (Presets)](#presets) and 2 more |
6632
6660
 
6633
6661
  ##### Types on this page
6634
6662
 
@@ -6696,9 +6724,9 @@ type Displayable = string | number | boolean | Date;
6696
6724
 
6697
6725
  #### Known limits
6698
6726
 
6699
- - No footer in [server mode](#/server-mode): a sum over one page would misstate the server's set.
6727
+ - No footer in [server mode](#server-mode): a sum over one page would misstate the server's set.
6700
6728
 
6701
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
6729
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
6702
6730
 
6703
6731
  ## Rows
6704
6732
 
@@ -6712,8 +6740,6 @@ Tick rows to act on them together (also called row selection or multi-select).
6712
6740
  import { useTable } from "@umriss-ui/table";
6713
6741
  ```
6714
6742
 
6715
- Demo page: https://romanhaendler.github.io/umriss-ui/table/selection/
6716
-
6717
6743
  “Select all” selects what search and filters leave, on every page.
6718
6744
 
6719
6745
  #### Examples
@@ -6766,7 +6792,7 @@ export default function Selection() {
6766
6792
 
6767
6793
  ##### Hold the selection yourself
6768
6794
 
6769
- Make it with [`useTableSelection`](#/api/useTableSelection) and pass it to [`useTable`](#/api/useTable) as `selection`: the application counts it, fills it and clears it from controls of its own.
6795
+ Make it with [`useTableSelection`](#api-index-1) and pass it to [`useTable`](#api-index-1) as `selection`: the application counts it, fills it and clears it from controls of its own.
6770
6796
 
6771
6797
  ```tsx
6772
6798
  import { Button, Stack, Text } from "@umriss-ui/core";
@@ -6822,67 +6848,67 @@ export default function HoldTheSelectionYourself() {
6822
6848
 
6823
6849
  #### Keyboard
6824
6850
 
6825
- The keys of [First table](#/first-table/keyboard-first-table), [Checkbox](https://romanhaendler.github.io/umriss-ui/core/checkbox/#keyboard-checkbox) and [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input) apply here.
6851
+ The keys of [First table](#first-table), Checkbox and Input apply here.
6826
6852
 
6827
6853
  #### Props on this page
6828
6854
 
6829
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
6855
+ From `TableProps` — the full table stands on [First table](#first-table).
6830
6856
 
6831
6857
  | Prop | Type | Default | Description |
6832
6858
  |---|---|---|---|
6833
- | [`selectable`](#/first-table/TableProps-selectable) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
6834
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
6859
+ | [`selectable`](#first-table) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
6860
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
6835
6861
 
6836
6862
  ###### Accessibility
6837
6863
 
6838
6864
  | Prop | Type | Default | Description |
6839
6865
  |---|---|---|---|
6840
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
6866
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
6841
6867
 
6842
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
6868
+ From `TableOptions` — the full table stands on [First table](#first-table).
6843
6869
 
6844
6870
  | Prop | Type | Default | Description |
6845
6871
  |---|---|---|---|
6846
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
6847
- | [`selection`](#/first-table/TableOptions-selection) | [`TableSelection`](#/first-table/type-TableSelection)`<string>` | — | A selection from outside instead of its own – when the application holds it. |
6872
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
6873
+ | [`selection`](#first-table) | [`TableSelection`](#first-table)`<string>` | — | A selection from outside instead of its own – when the application holds it. |
6848
6874
 
6849
- From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
6875
+ From `TableSnapshot` — the full table stands on [First table](#first-table).
6850
6876
 
6851
6877
  | Prop | Type | Default | Description |
6852
6878
  |---|---|---|---|
6853
- | [`filtered`](#/first-table/TableSnapshot-filtered) *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages. |
6854
- | [`selection`](#/first-table/TableSnapshot-selection) *required* | [`TableSelection`](#/first-table/type-TableSelection)`<string>` | — | The selection – its own or the one handed in through `selection`. |
6879
+ | [`filtered`](#first-table) *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages. |
6880
+ | [`selection`](#first-table) *required* | [`TableSelection`](#first-table)`<string>` | — | The selection – its own or the one handed in through `selection`. |
6855
6881
 
6856
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
6882
+ From `FieldColumn` — the full table stands on [Column](#column).
6857
6883
 
6858
6884
  | Prop | Type | Default | Description |
6859
6885
  |---|---|---|---|
6860
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
6886
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
6861
6887
 
6862
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
6888
+ From `ColumnBase` — the full table stands on [Column](#column).
6863
6889
 
6864
6890
  | Prop | Type | Default | Description |
6865
6891
  |---|---|---|---|
6866
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
6867
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
6892
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
6893
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
6868
6894
 
6869
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
6895
+ From `SearchProps` — the full table stands on [Search](#search).
6870
6896
 
6871
6897
  | Prop | Type | Default | Description |
6872
6898
  |---|---|---|---|
6873
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
6899
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
6874
6900
 
6875
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
6901
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
6876
6902
 
6877
6903
  | Prop | Type | Default | Description |
6878
6904
  |---|---|---|---|
6879
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
6905
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
6880
6906
 
6881
6907
  #### Known limits
6882
6908
 
6883
- - In [server mode](#/server-mode) “select all” selects the page the table holds.
6909
+ - In [server mode](#server-mode) “select all” selects the page the table holds.
6884
6910
 
6885
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
6911
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
6886
6912
 
6887
6913
  ### Row appearance
6888
6914
 
@@ -6892,8 +6918,6 @@ How rows look: dense or regular, marked by their state, and what stands while ro
6892
6918
  import { useTable } from "@umriss-ui/table";
6893
6919
  ```
6894
6920
 
6895
- Demo page: https://romanhaendler.github.io/umriss-ui/table/row-appearance/
6896
-
6897
6921
  A row's mark is the application's stylesheet at work; say the same in a word in a column too, so the colour is never the only sign.
6898
6922
 
6899
6923
  #### Examples
@@ -7101,7 +7125,7 @@ export default function StripesAcrossAWideTable() {
7101
7125
 
7102
7126
  #### Keyboard
7103
7127
 
7104
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
7128
+ The keys of [First table](#first-table), Input and Button apply here.
7105
7129
 
7106
7130
  #### Accessibility
7107
7131
 
@@ -7111,62 +7135,62 @@ What stands in `empty` is the application's, and it is read where it stands. A f
7111
7135
 
7112
7136
  #### Props on this page
7113
7137
 
7114
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
7138
+ From `TableProps` — the full table stands on [First table](#first-table).
7115
7139
 
7116
7140
  | Prop | Type | Default | Description |
7117
7141
  |---|---|---|---|
7118
- | [`stickyRowHeader`](#/first-table/TableProps-stickyRowHeader) | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header. |
7119
- | [`striped`](#/first-table/TableProps-striped) | `boolean` | — | Discreet zebra stripes. |
7120
- | [`density`](#/first-table/TableProps-density) | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand. |
7121
- | [`empty`](#/first-table/TableProps-empty) | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back. |
7122
- | [`loading`](#/first-table/TableProps-loading) | `boolean` | — | Shows placeholder rows instead of the rows. |
7123
- | [`rowProps`](#/first-table/TableProps-rowProps) | `(row: Z) => `[`RowAttributes`](#/first-table/type-RowAttributes) | — | Classes and data attributes per row. |
7124
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
7142
+ | [`stickyRowHeader`](#first-table) | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header. |
7143
+ | [`striped`](#first-table) | `boolean` | — | Discreet zebra stripes. |
7144
+ | [`density`](#first-table) | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand. |
7145
+ | [`empty`](#first-table) | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back. |
7146
+ | [`loading`](#first-table) | `boolean` | — | Shows placeholder rows instead of the rows. |
7147
+ | [`rowProps`](#first-table) | `(row: Z) => `[`RowAttributes`](#first-table) | — | Classes and data attributes per row. |
7148
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
7125
7149
 
7126
7150
  ###### Accessibility
7127
7151
 
7128
7152
  | Prop | Type | Default | Description |
7129
7153
  |---|---|---|---|
7130
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
7154
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
7131
7155
 
7132
7156
  ###### Styling
7133
7157
 
7134
7158
  | Prop | Type | Default | Description |
7135
7159
  |---|---|---|---|
7136
- | [`className`](#/first-table/TableProps-className) | `string` | — | Classes on the outer frame of the table. |
7160
+ | [`className`](#first-table) | `string` | — | Classes on the outer frame of the table. |
7137
7161
 
7138
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
7162
+ From `TableOptions` — the full table stands on [First table](#first-table).
7139
7163
 
7140
7164
  | Prop | Type | Default | Description |
7141
7165
  |---|---|---|---|
7142
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
7143
- | [`initialView`](#/first-table/TableOptions-initialView) | [`TableView`](#/first-table/type-TableView) | — | The view to start from, read once when the hook first runs; a different value on a later render is ignored, as React ignores a changed `defaultValue`. To go to a view later, call `setView`. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
7166
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
7167
+ | [`initialView`](#first-table) | [`TableView`](#first-table) | — | The view to start from, read once when the hook first runs; a different value on a later render is ignored, as React ignores a changed `defaultValue`. To go to a view later, call `setView`. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
7144
7168
 
7145
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
7169
+ From `FieldColumn` — the full table stands on [Column](#column).
7146
7170
 
7147
7171
  | Prop | Type | Default | Description |
7148
7172
  |---|---|---|---|
7149
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
7150
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
7173
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
7174
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
7151
7175
 
7152
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
7176
+ From `ColumnBase` — the full table stands on [Column](#column).
7153
7177
 
7154
7178
  | Prop | Type | Default | Description |
7155
7179
  |---|---|---|---|
7156
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
7157
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
7180
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
7181
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
7158
7182
 
7159
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
7183
+ From `SearchProps` — the full table stands on [Search](#search).
7160
7184
 
7161
7185
  | Prop | Type | Default | Description |
7162
7186
  |---|---|---|---|
7163
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
7187
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
7164
7188
 
7165
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
7189
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
7166
7190
 
7167
7191
  | Prop | Type | Default | Description |
7168
7192
  |---|---|---|---|
7169
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
7193
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
7170
7194
 
7171
7195
  ### RowDetail
7172
7196
 
@@ -7176,8 +7200,6 @@ More about a row, opened beneath it on demand (also called an expandable or mast
7176
7200
  import { useTable } from "@umriss-ui/table";
7177
7201
  ```
7178
7202
 
7179
- Demo page: https://romanhaendler.github.io/umriss-ui/table/rowdetail/
7180
-
7181
7203
  The table puts an expander at the start of each row, named after the row – “Expand FP-1004210”. Several rows can be open at once, and a row stays open by its key: a search or a filter that hides it for a moment does not close it.
7182
7204
 
7183
7205
  The detail spans all visible columns. Its function is called while the table renders, so a detail that needs a hook – a table of its own – goes into a component.
@@ -7277,7 +7299,7 @@ export default function KeepRowsOpen() {
7277
7299
 
7278
7300
  ##### Show the stops of a tour
7279
7301
 
7280
- A detail can hold a table of its own – give it a component, since [`useTable`](#/api/useTable) is a hook and the detail a plain function.
7302
+ A detail can hold a table of its own – give it a component, since [`useTable`](#api-index-1) is a hook and the detail a plain function.
7281
7303
 
7282
7304
  ```tsx
7283
7305
  import { useTable } from "@umriss-ui/table";
@@ -7510,7 +7532,7 @@ export default function OpenADetailFromOutside() {
7510
7532
 
7511
7533
  | Prop | Type | Default | Description |
7512
7534
  |---|---|---|---|
7513
- | `children` *required* | `(row: Z) => ReactNode` | — | What stands underneath an expanded row.<br>Shown in: [Open a detail](#/rowdetail/open-a-detail), [Keep rows open while searching](#/rowdetail/keep-rows-open-while-searching), [Show the stops of a tour](#/rowdetail/show-the-stops-of-a-tour) and 5 more |
7535
+ | `children` *required* | `(row: Z) => ReactNode` | — | What stands underneath an expanded row.<br>Shown in: [Open a detail](#rowdetail), [Keep rows open while searching](#rowdetail), [Show the stops of a tour](#rowdetail) and 5 more |
7514
7536
 
7515
7537
  ### RowActions
7516
7538
 
@@ -7520,8 +7542,6 @@ Buttons at the end of each row for what the user does to that row – open, appr
7520
7542
  import { useTable } from "@umriss-ui/table";
7521
7543
  ```
7522
7544
 
7523
- Demo page: https://romanhaendler.github.io/umriss-ui/table/rowactions/
7524
-
7525
7545
  Up to two actions stand in the row as buttons; from three on, all of them move into one menu per row, so the column keeps its width and no action changes place when another is added. Each is read out with the row's name – “Open: INV-26-0318”.
7526
7546
 
7527
7547
  The buttons are always visible: quiet in the secondary colour at rest, in the accent while the pointer is over the row or the focus inside it.
@@ -7686,22 +7706,22 @@ What an action does is the application's to say: a result that should be heard -
7686
7706
 
7687
7707
  | Prop | Type | Default | Description |
7688
7708
  |---|---|---|---|
7689
- | `children` *required* | `ReactNode` | — | The row's `Action`s.<br>Shown in: [Two actions](#/rowactions/two-actions), [Act on a selection](#/rowactions/act-on-a-selection), [More than two actions](#/rowactions/more-than-two) and 7 more |
7690
- | `pin` | `boolean` | `true` | Whether the actions column sticks at the end of the row while the table scrolls sideways. `false` leaves it in the flow, for a place too narrow for a pinned block - the application decides, by its own measure. A column pinned to the end takes the actions with it regardless.<br>Shown in: [Find a late shipment (Scenarios)](#/scenarios/find-a-late-shipment) |
7709
+ | `children` *required* | `ReactNode` | — | The row's `Action`s.<br>Shown in: [Two actions](#rowactions), [Act on a selection](#rowactions), [More than two actions](#rowactions) and 7 more |
7710
+ | `pin` | `boolean` | `true` | Whether the actions column sticks at the end of the row while the table scrolls sideways. `false` leaves it in the flow, for a place too narrow for a pinned block - the application decides, by its own measure. A column pinned to the end takes the actions with it regardless.<br>Shown in: [Find a late shipment (Scenarios)](#find-a-late-shipment) |
7691
7711
 
7692
7712
  ##### `ActionProps<Z>`
7693
7713
 
7694
7714
  | Prop | Type | Default | Description |
7695
7715
  |---|---|---|---|
7696
- | `children` *required* | `string` | — | The label – text, because it is read out together with the row's name.<br>Shown in: [Two actions](#/rowactions/two-actions), [Act on a selection](#/rowactions/act-on-a-selection), [More than two actions](#/rowactions/more-than-two) and 7 more |
7697
- | `tone` | `"default" \| "danger"` | — | `"danger"` for an action that destroys something – that is how it appears in the menu and in the table toolbar.<br>Shown in: [More than two actions](#/rowactions/more-than-two), [Find a late shipment (Scenarios)](#/scenarios/find-a-late-shipment) |
7698
- | `bulk` | `false \| true` | — | Acts on a list: at the row on a list made from it, in the table toolbar on the selection within the filtered set.<br>Shown in: [Act on a selection](#/rowactions/act-on-a-selection), [Select a whole group (Grouping)](#/grouping/a-whole-group-selected), [Read a day's deliveries by depot (Grouping)](#/grouping/the-dispatch-report) and 2 more |
7716
+ | `children` *required* | `string` | — | The label – text, because it is read out together with the row's name.<br>Shown in: [Two actions](#rowactions), [Act on a selection](#rowactions), [More than two actions](#rowactions) and 7 more |
7717
+ | `tone` | `"default" \| "danger"` | — | `"danger"` for an action that destroys something – that is how it appears in the menu and in the table toolbar.<br>Shown in: [More than two actions](#rowactions), [Find a late shipment (Scenarios)](#find-a-late-shipment) |
7718
+ | `bulk` | `false \| true` | — | Acts on a list: at the row on a list made from it, in the table toolbar on the selection within the filtered set.<br>Shown in: [Act on a selection](#rowactions), [Select a whole group (Grouping)](#grouping-1), [Read a day's deliveries by depot (Grouping)](#grouping-1) and 2 more |
7699
7719
 
7700
7720
  ###### Events
7701
7721
 
7702
7722
  | Prop | Type | Default | Description |
7703
7723
  |---|---|---|---|
7704
- | `onSelect` *required* | `((row: Z) => void) \| ((rows: readonly Z[]) => void)` | — | Gets the row the action was triggered on. With `bulk` a list: at the row one made from it, in the table toolbar the selection.<br>Shown in: [Two actions](#/rowactions/two-actions), [Act on a selection](#/rowactions/act-on-a-selection), [More than two actions](#/rowactions/more-than-two) and 7 more |
7724
+ | `onSelect` *required* | `((row: Z) => void) \| ((rows: readonly Z[]) => void)` | — | Gets the row the action was triggered on. With `bulk` a list: at the row one made from it, in the table toolbar the selection.<br>Shown in: [Two actions](#rowactions), [Act on a selection](#rowactions), [More than two actions](#rowactions) and 7 more |
7705
7725
 
7706
7726
  ## Around the table
7707
7727
 
@@ -7715,8 +7735,6 @@ The bar above the table that holds its search, column menu and export, shows how
7715
7735
  import { Toolbar } from "@umriss-ui/table";
7716
7736
  ```
7717
7737
 
7718
- Demo page: https://romanhaendler.github.io/umriss-ui/table/toolbar/
7719
-
7720
7738
  It stands above the table wherever it stands in the JSX. On the left go the parts you put into it, then the conditions of the column filters; on the right the count of matches and “Reset” while something restricts, and the selection with its bulk actions while rows are ticked.
7721
7739
 
7722
7740
  A table with a search or a column filter puts up a toolbar of its own when none stands. Outside the table, pass `of` to the toolbar and to each part in it, and place it before the table – after it, it registers only after the first paint.
@@ -7778,7 +7796,7 @@ export default function SearchArrangeAndExport() {
7778
7796
 
7779
7797
  ##### Place it outside the table
7780
7798
 
7781
- Keep what [`useTable`](#/api/useTable) returns and pass it as `of` to the toolbar and to each part in it; put the toolbar before the table.
7799
+ Keep what [`useTable`](#api-index-1) returns and pass it as `of` to the toolbar and to each part in it; put the toolbar before the table.
7782
7800
 
7783
7801
  ```tsx
7784
7802
  import { Stack } from "@umriss-ui/core";
@@ -7874,7 +7892,7 @@ export default function PartsOutsideAToolbar() {
7874
7892
 
7875
7893
  #### Keyboard
7876
7894
 
7877
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [ColumnMenu](#/columnmenu/keyboard-columnmenu), [RowActions](#/rowactions/keyboard-rowactions), [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) and [Checkbox](https://romanhaendler.github.io/umriss-ui/core/checkbox/#keyboard-checkbox) apply here.
7895
+ The keys of [First table](#first-table), Input, [ColumnMenu](#columnmenu), [RowActions](#rowactions), Button and Checkbox apply here.
7878
7896
 
7879
7897
  #### Accessibility
7880
7898
 
@@ -7888,9 +7906,9 @@ The parts the table puts in name themselves: the search field “Search table”
7888
7906
 
7889
7907
  | Prop | Type | Default | Description |
7890
7908
  |---|---|---|---|
7891
- | `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Search, arrange and export](#/toolbar/search-arrange-and-export), [Place it outside the table](#/toolbar/place-it-outside), [Set wording and formats once (Provider)](#/provider/provider) and 37 more |
7892
- | `size` | [`ToolbarSize`](#type-ToolbarSize)<br>`"sm" \| "md"` | `"sm"` | The size of every control the table puts into it - search, column menu, export, "reset", the bulk actions -: `sm` or `md`. A control of one's own takes the same size by its own prop.<br>Shown in: [A larger toolbar (Toolbar controls)](#/toolbar-controls/a-larger-toolbar), [A dispatcher's bar (Toolbar controls)](#/toolbar-controls/a-dispatcher-s-bar) |
7893
- | `of` | [`TableRef`](#type-TableRef) | — | The table, when the table toolbar does not stand inside it. If it then stands behind the table in the tree, it registers only after the first frame – until then a table with a search or a column filter shows its own toolbar. Placed before the table, there is no such change.<br>Shown in: [Place it outside the table](#/toolbar/place-it-outside), [Review cost centres against budget (Scenarios)](#/scenarios/review-cost-centres) |
7909
+ | `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Search, arrange and export](#toolbar), [Place it outside the table](#toolbar), [Set wording and formats once (Provider)](#provider) and 37 more |
7910
+ | `size` | `ToolbarSize`<br>`"sm" \| "md"` | `"sm"` | The size of every control the table puts into it - search, column menu, export, "reset", the bulk actions -: `sm` or `md`. A control of one's own takes the same size by its own prop.<br>Shown in: [A larger toolbar (Toolbar controls)](#toolbar-controls), [A dispatcher's bar (Toolbar controls)](#toolbar-controls) |
7911
+ | `of` | `TableRef` | — | The table, when the table toolbar does not stand inside it. If it then stands behind the table in the tree, it registers only after the first frame – until then a table with a search or a column filter shows its own toolbar. Placed before the table, there is no such change.<br>Shown in: [Place it outside the table](#toolbar), [Review cost centres against budget (Scenarios)](#review-cost-centres-against-budget) |
7894
7912
 
7895
7913
  ###### Styling
7896
7914
 
@@ -7928,13 +7946,11 @@ Put controls of your own into the toolbar - a multiselect, a select, a combobox
7928
7946
  import { Toolbar, rowFilter } from "@umriss-ui/table";
7929
7947
  ```
7930
7948
 
7931
- Demo page: https://romanhaendler.github.io/umriss-ui/table/toolbar-controls/
7932
-
7933
7949
  `Toolbar` takes `size`, `sm` or `md`, and the parts the table puts into it follow: search, column menu, export, “Reset” and the bulk actions. A part says its own size with its own `size`. A control from @umriss-ui/core that you put in takes the toolbar's size as well, without a word - the toolbar is a `ControlSizeProvider`, as @umriss-ui/core's Sizes page shows - and keeps its own `size` if it says one.
7934
7950
 
7935
7951
  No widths to set: a field from @umriss-ui/core is its natural width in the bar - a count of characters of its type, or its `chars` - and never what it shows, so choosing in a multiselect moves nothing beside it.
7936
7952
 
7937
- A control of your own restricts the table through a [row filter](#/filter): it sets the condition with `t.setFilter(filter, condition)` and reads it with `t.conditionOf(filter)`, so “Reset”, the count of matches and the view include it.
7953
+ A control of your own restricts the table through a [row filter](#filter): it sets the condition with `t.setFilter(filter, condition)` and reads it with `t.conditionOf(filter)`, so “Reset”, the count of matches and the view include it.
7938
7954
 
7939
7955
  #### Examples
7940
7956
 
@@ -8604,7 +8620,7 @@ export default function ADispatchersBar() {
8604
8620
 
8605
8621
  #### Keyboard
8606
8622
 
8607
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [ColumnMenu](#/columnmenu/keyboard-columnmenu), [Select](https://romanhaendler.github.io/umriss-ui/core/select/#keyboard-select), [MultiSelect](https://romanhaendler.github.io/umriss-ui/core/multiselect/#keyboard-multiselect), [Combobox](https://romanhaendler.github.io/umriss-ui/core/combobox/#keyboard-combobox) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
8623
+ The keys of [First table](#first-table), Input, [ColumnMenu](#columnmenu), Select, MultiSelect, Combobox and Button apply here.
8608
8624
 
8609
8625
  #### API
8610
8626
 
@@ -8612,9 +8628,9 @@ The keys of [First table](#/first-table/keyboard-first-table), [Input](https://r
8612
8628
 
8613
8629
  | Prop | Type | Default | Description |
8614
8630
  |---|---|---|---|
8615
- | `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Controls of your own at the toolbar's size](#/toolbar-controls/controls-at-the-toolbars-size), [A larger toolbar](#/toolbar-controls/a-larger-toolbar), [A dispatcher's bar](#/toolbar-controls/a-dispatcher-s-bar) and 37 more |
8616
- | `size` | [`ToolbarSize`](#type-ToolbarSize)<br>`"sm" \| "md"` | `"sm"` | The size of every control the table puts into it - search, column menu, export, "reset", the bulk actions -: `sm` or `md`. A control of one's own takes the same size by its own prop.<br>Shown in: [A larger toolbar](#/toolbar-controls/a-larger-toolbar), [A dispatcher's bar](#/toolbar-controls/a-dispatcher-s-bar) |
8617
- | `of` | [`TableRef`](#type-TableRef) | — | The table, when the table toolbar does not stand inside it. If it then stands behind the table in the tree, it registers only after the first frame – until then a table with a search or a column filter shows its own toolbar. Placed before the table, there is no such change.<br>Shown in: [Place it outside the table (Toolbar)](#/toolbar/place-it-outside), [Review cost centres against budget (Scenarios)](#/scenarios/review-cost-centres) |
8631
+ | `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Controls of your own at the toolbar's size](#toolbar-controls), [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) and 37 more |
8632
+ | `size` | `ToolbarSize`<br>`"sm" \| "md"` | `"sm"` | The size of every control the table puts into it - search, column menu, export, "reset", the bulk actions -: `sm` or `md`. A control of one's own takes the same size by its own prop.<br>Shown in: [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) |
8633
+ | `of` | `TableRef` | — | The table, when the table toolbar does not stand inside it. If it then stands behind the table in the tree, it registers only after the first frame – until then a table with a search or a column filter shows its own toolbar. Placed before the table, there is no such change.<br>Shown in: [Place it outside the table (Toolbar)](#toolbar), [Review cost centres against budget (Scenarios)](#review-cost-centres-against-budget) |
8618
8634
 
8619
8635
  ###### Styling
8620
8636
 
@@ -8626,10 +8642,10 @@ The keys of [First table](#/first-table/keyboard-first-table), [Input](https://r
8626
8642
 
8627
8643
  | Prop | Type | Default | Description |
8628
8644
  |---|---|---|---|
8629
- | `id` *required* | `string` | — | Its name in `t.view.conditions` and in what server mode reports - the one place the filter is spelled. Not the id of a column of the same table.<br>Shown in: [Controls of your own at the toolbar's size](#/toolbar-controls/controls-at-the-toolbars-size), [A larger toolbar](#/toolbar-controls/a-larger-toolbar), [A dispatcher's bar](#/toolbar-controls/a-dispatcher-s-bar) and 3 more |
8630
- | `label` *required* | `string` | — | What it is called: before the text of its chip, and in the chip's accessible names.<br>Shown in: [Controls of your own at the toolbar's size](#/toolbar-controls/controls-at-the-toolbars-size), [A larger toolbar](#/toolbar-controls/a-larger-toolbar), [A dispatcher's bar](#/toolbar-controls/a-dispatcher-s-bar) and 3 more |
8631
- | `matches` *required* | `(row: Z, condition: B) => boolean` | — | Whether the row satisfies the condition. Any question over the whole row; whatever varies belongs in the condition - the table cannot see a change in a closure.<br>Shown in: [Controls of your own at the toolbar's size](#/toolbar-controls/controls-at-the-toolbars-size), [A larger toolbar](#/toolbar-controls/a-larger-toolbar), [A dispatcher's bar](#/toolbar-controls/a-dispatcher-s-bar) and 3 more |
8632
- | `describe` | `(condition: B) => string` | — | The text of the condition in the table toolbar, behind the label. Without it the condition has no chip: the application's control shows it.<br>Shown in: [A dispatcher's bar](#/toolbar-controls/a-dispatcher-s-bar), [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields) |
8645
+ | `id` *required* | `string` | — | Its name in `t.view.conditions` and in what server mode reports - the one place the filter is spelled. Not the id of a column of the same table.<br>Shown in: [Controls of your own at the toolbar's size](#toolbar-controls), [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) and 3 more |
8646
+ | `label` *required* | `string` | — | What it is called: before the text of its chip, and in the chip's accessible names.<br>Shown in: [Controls of your own at the toolbar's size](#toolbar-controls), [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) and 3 more |
8647
+ | `matches` *required* | `(row: Z, condition: B) => boolean` | — | Whether the row satisfies the condition. Any question over the whole row; whatever varies belongs in the condition - the table cannot see a change in a closure.<br>Shown in: [Controls of your own at the toolbar's size](#toolbar-controls), [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) and 3 more |
8648
+ | `describe` | `(condition: B) => string` | — | The text of the condition in the table toolbar, behind the label. Without it the condition has no chip: the application's control shows it.<br>Shown in: [A dispatcher's bar](#toolbar-controls), [Ask a question over several fields (Filter)](#filter) |
8633
8649
 
8634
8650
  ##### Types on this page
8635
8651
 
@@ -8661,11 +8677,9 @@ A menu in which the user shows, hides, reorders and pins the table's columns and
8661
8677
  import { ColumnMenu } from "@umriss-ui/table";
8662
8678
  ```
8663
8679
 
8664
- Demo page: https://romanhaendler.github.io/umriss-ui/table/columnmenu/
8665
-
8666
8680
  Every change applies to header, body and footer together. The row header cannot be hidden. A column moves only within its block – pinned at the start, unpinned, pinned at the end – and after a move the focus stays on the button that was pressed.
8667
8681
 
8668
- Where the table can be grouped, the menu offers its groupable columns too, up to three levels ([Grouping](#/grouping)).
8682
+ Where the table can be grouped, the menu offers its groupable columns too, up to three levels ([Grouping](#grouping-1)).
8669
8683
 
8670
8684
  #### Examples
8671
8685
 
@@ -8762,8 +8776,8 @@ export default function PinAColumn() {
8762
8776
 
8763
8777
  | Prop | Type | Default | Description |
8764
8778
  |---|---|---|---|
8765
- | `size` | [`ToolbarSize`](#type-ToolbarSize)<br>`"sm" \| "md"` | the size of the toolbar it stands in, `"sm"` outside one | The size of the part: `sm` or `md`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar) |
8766
- | `of` | [`TableRef`](#type-TableRef) | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar) |
8779
+ | `size` | `ToolbarSize`<br>`"sm" \| "md"` | the size of the toolbar it stands in, `"sm"` outside one | The size of the part: `sm` or `md`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#toolbar) |
8780
+ | `of` | `TableRef` | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#toolbar) |
8767
8781
 
8768
8782
  ##### Types on this page
8769
8783
 
@@ -8795,11 +8809,9 @@ A button that writes the rows the user sees into a CSV file for a spreadsheet (a
8795
8809
  import { Export } from "@umriss-ui/table";
8796
8810
  ```
8797
8811
 
8798
- Demo page: https://romanhaendler.github.io/umriss-ui/table/export/
8799
-
8800
8812
  It writes the filtered set across all pages, in the visible columns, in the order and sorting on screen – and the values, not their presentation: numbers with the decimal mark of the formats, yes and no from the wording, a point in time as a timestamp, an absent value as an empty field. The separator follows the mark – a comma, or a semicolon where the mark is a comma – and a byte order mark tells the spreadsheet it is UTF-8. English gets commas and a point; the German wording and formats from `@umriss-ui/core/wording/de` get the file the table always wrote, and German wording with English formats gets German words with comma and point – take both halves ([ADR-0061](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0061-the-csv-follows-the-language-in-use.md)).
8801
8813
 
8802
- A verdict column exports its value, not the verdict. In [server mode](#/server-mode) the table holds one page of the server's, so it exports that page, and the button says so. The same text is `t.asCsv()`, without a button.
8814
+ A verdict column exports its value, not the verdict. In [server mode](#server-mode) the table holds one page of the server's, so it exports that page, and the button says so. The same text is `t.asCsv()`, without a button.
8803
8815
 
8804
8816
  Ctrl or Cmd with C copies the selected rows – the visible columns under a header line, tab-separated, with the same values and the formats' decimal mark – and in a grid with no selection the Active cell. What was copied flashes once in an accent tint (shown without the fade under reduced motion), and a screen reader is told how many rows were copied, or that the copy failed. Marked text and a focused field keep the browser's own copy; in an open cell editor with nothing marked the key copies the value that stands in the field. `t.selectionAsText()` is the same text for a button of your own, as in the last example.
8805
8817
 
@@ -8934,7 +8946,7 @@ export default function CopyTheSelection() {
8934
8946
 
8935
8947
  #### Keyboard
8936
8948
 
8937
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
8949
+ The keys of [First table](#first-table), Input and Button apply here.
8938
8950
 
8939
8951
  #### API
8940
8952
 
@@ -8942,15 +8954,15 @@ The keys of [First table](#/first-table/keyboard-first-table), [Input](https://r
8942
8954
 
8943
8955
  | Prop | Type | Default | Description |
8944
8956
  |---|---|---|---|
8945
- | `filename` | `string` | the wording's "table.csv" | File name of the download.<br>Shown in: [Download a file](#/export/download-a-file), [Set wording and formats once (Provider)](#/provider/provider), [Search takes the line (Search)](#/search/search-takes-the-line) and 6 more |
8946
- | `size` | [`ToolbarSize`](#type-ToolbarSize)<br>`"sm" \| "md"` | the size of the toolbar it stands in, `"sm"` outside one | The size of the part: `sm` or `md`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar) |
8947
- | `of` | [`TableRef`](#type-TableRef) | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Place it outside the table (Toolbar)](#/toolbar/place-it-outside), [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar), [Review cost centres against budget (Scenarios)](#/scenarios/review-cost-centres) |
8957
+ | `filename` | `string` | the wording's "table.csv" | File name of the download.<br>Shown in: [Download a file](#export), [Set wording and formats once (Provider)](#provider), [Search takes the line (Search)](#search) and 6 more |
8958
+ | `size` | `ToolbarSize`<br>`"sm" \| "md"` | the size of the toolbar it stands in, `"sm"` outside one | The size of the part: `sm` or `md`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#toolbar) |
8959
+ | `of` | `TableRef` | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Place it outside the table (Toolbar)](#toolbar), [Parts outside a toolbar (Toolbar)](#toolbar), [Review cost centres against budget (Scenarios)](#review-cost-centres-against-budget) |
8948
8960
 
8949
8961
  ###### Events
8950
8962
 
8951
8963
  | Prop | Type | Default | Description |
8952
8964
  |---|---|---|---|
8953
- | `onExport` | `(text: string) => void` | — | Gets the text instead of triggering a file.<br>Shown in: [Take the text](#/export/take-the-text), [Sort and export a value that is an object (Sorting)](#/sorting/own-ordering) |
8965
+ | `onExport` | `(text: string) => void` | — | Gets the text instead of triggering a file.<br>Shown in: [Take the text](#export), [Sort and export a value that is an object (Sorting)](#sorting) |
8954
8966
 
8955
8967
  ##### Types on this page
8956
8968
 
@@ -8978,7 +8990,7 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
8978
8990
 
8979
8991
  - One format, CSV: no workbook, PDF or print layout.
8980
8992
 
8981
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
8993
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
8982
8994
 
8983
8995
  ### View
8984
8996
 
@@ -8988,8 +9000,6 @@ What the user did to the table – search, conditions, sort, hidden columns, wid
8988
9000
  import { useTable } from "@umriss-ui/table";
8989
9001
  ```
8990
9002
 
8991
- Demo page: https://romanhaendler.github.io/umriss-ui/table/view/
8992
-
8993
9003
  The table remembers nothing, not in the address and not in any storage. Everything stands in `t.view`, and `onViewChange` reports every change of it; keep it where the application keeps things. `initialView` is read once; `t.setView(view)` goes to another view later and is not reported through `onViewChange`, so two tables stay in step by `onViewChange: (v) => other.setView(v)` in both directions.
8994
9004
 
8995
9005
  #### Examples
@@ -9070,68 +9080,68 @@ export default function InitialView() {
9070
9080
 
9071
9081
  #### Keyboard
9072
9082
 
9073
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [ColumnMenu](#/columnmenu/keyboard-columnmenu) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
9083
+ The keys of [First table](#first-table), Input, [ColumnMenu](#columnmenu) and Button apply here.
9074
9084
 
9075
9085
  #### Props on this page
9076
9086
 
9077
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
9087
+ From `TableProps` — the full table stands on [First table](#first-table).
9078
9088
 
9079
9089
  | Prop | Type | Default | Description |
9080
9090
  |---|---|---|---|
9081
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
9091
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
9082
9092
 
9083
9093
  ###### Accessibility
9084
9094
 
9085
9095
  | Prop | Type | Default | Description |
9086
9096
  |---|---|---|---|
9087
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
9097
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
9088
9098
 
9089
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
9099
+ From `TableOptions` — the full table stands on [First table](#first-table).
9090
9100
 
9091
9101
  | Prop | Type | Default | Description |
9092
9102
  |---|---|---|---|
9093
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9094
- | [`initialView`](#/first-table/TableOptions-initialView) | [`TableView`](#/first-table/type-TableView) | — | The view to start from, read once when the hook first runs; a different value on a later render is ignored, as React ignores a changed `defaultValue`. To go to a view later, call `setView`. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
9103
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9104
+ | [`initialView`](#first-table) | [`TableView`](#first-table) | — | The view to start from, read once when the hook first runs; a different value on a later render is ignored, as React ignores a changed `defaultValue`. To go to a view later, call `setView`. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
9095
9105
 
9096
9106
  ###### Events
9097
9107
 
9098
9108
  | Prop | Type | Default | Description |
9099
9109
  |---|---|---|---|
9100
- | [`onViewChange`](#/first-table/TableOptions-onViewChange) | `(view: `[`TableView`](#/first-table/type-TableView)`) => void` | — | Every change the reader makes, once, always the whole view - the one to keep, or to hand another table's `setView`. Not called for the view the table starts with, nor for one `setView` applies. |
9110
+ | [`onViewChange`](#first-table) | `(view: `[`TableView`](#first-table)`) => void` | — | Every change the reader makes, once, always the whole view - the one to keep, or to hand another table's `setView`. Not called for the view the table starts with, nor for one `setView` applies. |
9101
9111
 
9102
- From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
9112
+ From `TableSnapshot` — the full table stands on [First table](#first-table).
9103
9113
 
9104
9114
  | Prop | Type | Default | Description |
9105
9115
  |---|---|---|---|
9106
- | [`setView`](#/first-table/TableSnapshot-setView) *required* | `(view: `[`TableView`](#/first-table/type-TableView)`) => void` | — | Goes to a whole view; what it leaves out goes back to where the table starts, and names no column carries fall out. Not reported through `onViewChange`: two tables kept in step by `onViewChange: (v) => other.setView(v)` in both directions do not answer each other. A view with the content already shown changes nothing. |
9107
- | [`view`](#/first-table/TableSnapshot-view) *required* | [`TableView`](#/first-table/type-TableView) | — | The part of the state an application can keep; whatever still stands as the options set it up is absent. |
9116
+ | [`setView`](#first-table) *required* | `(view: `[`TableView`](#first-table)`) => void` | — | Goes to a whole view; what it leaves out goes back to where the table starts, and names no column carries fall out. Not reported through `onViewChange`: two tables kept in step by `onViewChange: (v) => other.setView(v)` in both directions do not answer each other. A view with the content already shown changes nothing. |
9117
+ | [`view`](#first-table) *required* | [`TableView`](#first-table) | — | The part of the state an application can keep; whatever still stands as the options set it up is absent. |
9108
9118
 
9109
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
9119
+ From `FieldColumn` — the full table stands on [Column](#column).
9110
9120
 
9111
9121
  | Prop | Type | Default | Description |
9112
9122
  |---|---|---|---|
9113
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
9114
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
9123
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
9124
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
9115
9125
 
9116
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
9126
+ From `ColumnBase` — the full table stands on [Column](#column).
9117
9127
 
9118
9128
  | Prop | Type | Default | Description |
9119
9129
  |---|---|---|---|
9120
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
9121
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
9122
- | [`resizable`](#/column/ColumnBase-resizable) | `boolean` | — | Shows the drag grip on the header cell. |
9130
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
9131
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
9132
+ | [`resizable`](#column) | `boolean` | — | Shows the drag grip on the header cell. |
9123
9133
 
9124
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
9134
+ From `SearchProps` — the full table stands on [Search](#search).
9125
9135
 
9126
9136
  | Prop | Type | Default | Description |
9127
9137
  |---|---|---|---|
9128
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
9138
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
9129
9139
 
9130
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
9140
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
9131
9141
 
9132
9142
  | Prop | Type | Default | Description |
9133
9143
  |---|---|---|---|
9134
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
9144
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
9135
9145
 
9136
9146
  ## Many rows
9137
9147
 
@@ -9145,8 +9155,6 @@ The bar under the table that splits long results into pages, with the page size
9145
9155
  import { Pagination } from "@umriss-ui/table";
9146
9156
  ```
9147
9157
 
9148
- Demo page: https://romanhaendler.github.io/umriss-ui/table/pagination/
9149
-
9150
9158
  `pageSize` on the hook sets the rows per page, `pageSizes` the choices. A search, a filter, a new sort or a new page size go back to page one, and a page that no longer exists after a filter becomes the last one. A virtualised table does not page, and the bar is not drawn.
9151
9159
 
9152
9160
  #### Examples
@@ -9363,7 +9371,7 @@ export default function ShowEveryRow() {
9363
9371
 
9364
9372
  #### Keyboard
9365
9373
 
9366
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [Select](https://romanhaendler.github.io/umriss-ui/core/select/#keyboard-select) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
9374
+ The keys of [First table](#first-table), Input, Select and Button apply here.
9367
9375
 
9368
9376
  #### API
9369
9377
 
@@ -9371,8 +9379,8 @@ The keys of [First table](#/first-table/keyboard-first-table), [Input](https://r
9371
9379
 
9372
9380
  | Prop | Type | Default | Description |
9373
9381
  |---|---|---|---|
9374
- | `pageSizes` | `readonly number[]` | `[10, 25, 50]` | The selectable page sizes.<br>Shown in: [Page through shipments](#/pagination/page-through-shipments), [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own), [Restrict which rows a table has (Pre-filter)](#/pre-filter/pre-filter) and 4 more |
9375
- | `of` | [`TableRef`](#type-TableRef) | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#/toolbar/parts-outside-a-toolbar) |
9382
+ | `pageSizes` | `readonly number[]` | `[10, 25, 50]` | The selectable page sizes.<br>Shown in: [Page through shipments](#pagination), [Search and page from a header of your own (First table)](#first-table), [Restrict which rows a table has (Pre-filter)](#pre-filter) and 4 more |
9383
+ | `of` | `TableRef` | — | The table, when the part does not stand inside it: the return value of `useTable`.<br>Shown in: [Parts outside a toolbar (Toolbar)](#toolbar) |
9376
9384
 
9377
9385
  ###### Styling
9378
9386
 
@@ -9396,9 +9404,9 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
9396
9404
 
9397
9405
  #### Known limits
9398
9406
 
9399
- - In [server mode](#/server-mode) the page goes to the server in the request, and `rowCount` decides how many pages there are.
9407
+ - In [server mode](#server-mode) the page goes to the server in the request, and `rowCount` decides how many pages there are.
9400
9408
 
9401
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
9409
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
9402
9410
 
9403
9411
  ### Virtualisation
9404
9412
 
@@ -9408,8 +9416,6 @@ Thousands of rows the user scrolls through without pages: only the rows in view
9408
9416
  import { useTable } from "@umriss-ui/table";
9409
9417
  ```
9410
9418
 
9411
- Demo page: https://romanhaendler.github.io/umriss-ui/table/virtualisation/
9412
-
9413
9419
  #### Examples
9414
9420
 
9415
9421
  ##### Scroll twenty thousand rows
@@ -9516,78 +9522,78 @@ export default function Virtualisation() {
9516
9522
 
9517
9523
  #### Props on this page
9518
9524
 
9519
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
9525
+ From `TableProps` — the full table stands on [First table](#first-table).
9520
9526
 
9521
9527
  | Prop | Type | Default | Description |
9522
9528
  |---|---|---|---|
9523
- | [`selectable`](#/first-table/TableProps-selectable) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
9524
- | [`stickyHeader`](#/first-table/TableProps-stickyHeader) | `boolean` | — | Keeps the header row visible while scrolling. |
9525
- | [`stickyRowHeader`](#/first-table/TableProps-stickyRowHeader) | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header. |
9526
- | [`maxHeight`](#/first-table/TableProps-maxHeight) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
9527
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
9529
+ | [`selectable`](#first-table) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
9530
+ | [`stickyHeader`](#first-table) | `boolean` | — | Keeps the header row visible while scrolling. |
9531
+ | [`stickyRowHeader`](#first-table) | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header. |
9532
+ | [`maxHeight`](#first-table) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
9533
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
9528
9534
 
9529
9535
  ###### Accessibility
9530
9536
 
9531
9537
  | Prop | Type | Default | Description |
9532
9538
  |---|---|---|---|
9533
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
9539
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
9534
9540
 
9535
9541
  ###### Styling
9536
9542
 
9537
9543
  | Prop | Type | Default | Description |
9538
9544
  |---|---|---|---|
9539
- | [`className`](#/first-table/TableProps-className) | `string` | — | Classes on the outer frame of the table. |
9545
+ | [`className`](#first-table) | `string` | — | Classes on the outer frame of the table. |
9540
9546
 
9541
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
9547
+ From `TableOptions` — the full table stands on [First table](#first-table).
9542
9548
 
9543
9549
  | Prop | Type | Default | Description |
9544
9550
  |---|---|---|---|
9545
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9546
- | [`defaultSort`](#/first-table/TableOptions-defaultSort) | [`SortLevel`](#/first-table/type-SortLevel)` \| readonly `[`SortLevel`](#/first-table/type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
9547
- | [`virtual`](#/first-table/TableOptions-virtual) | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). |
9551
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9552
+ | [`defaultSort`](#first-table) | [`SortLevel`](#first-table)` \| readonly `[`SortLevel`](#first-table)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
9553
+ | [`virtual`](#first-table) | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). |
9548
9554
 
9549
- From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
9555
+ From `TableSnapshot` — the full table stands on [First table](#first-table).
9550
9556
 
9551
9557
  | Prop | Type | Default | Description |
9552
9558
  |---|---|---|---|
9553
- | [`filtered`](#/first-table/TableSnapshot-filtered) *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages. |
9554
- | [`visible`](#/first-table/TableSnapshot-visible) *required* | `readonly Z[]` | — | What is rendered right now: the page or the window. |
9555
- | [`selection`](#/first-table/TableSnapshot-selection) *required* | [`TableSelection`](#/first-table/type-TableSelection)`<string>` | — | The selection – its own or the one handed in through `selection`. |
9559
+ | [`filtered`](#first-table) *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages. |
9560
+ | [`visible`](#first-table) *required* | `readonly Z[]` | — | What is rendered right now: the page or the window. |
9561
+ | [`selection`](#first-table) *required* | [`TableSelection`](#first-table)`<string>` | — | The selection – its own or the one handed in through `selection`. |
9556
9562
 
9557
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
9563
+ From `FieldColumn` — the full table stands on [Column](#column).
9558
9564
 
9559
9565
  | Prop | Type | Default | Description |
9560
9566
  |---|---|---|---|
9561
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
9562
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
9563
- | [`children`](#/column/FieldColumn-children) | [`Presentation`](#/column/type-Presentation)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
9567
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
9568
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
9569
+ | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
9564
9570
 
9565
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
9571
+ From `ColumnBase` — the full table stands on [Column](#column).
9566
9572
 
9567
9573
  | Prop | Type | Default | Description |
9568
9574
  |---|---|---|---|
9569
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
9570
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
9571
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
9575
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
9576
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
9577
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
9572
9578
 
9573
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
9579
+ From `SearchProps` — the full table stands on [Search](#search).
9574
9580
 
9575
9581
  | Prop | Type | Default | Description |
9576
9582
  |---|---|---|---|
9577
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
9583
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
9578
9584
 
9579
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
9585
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
9580
9586
 
9581
9587
  | Prop | Type | Default | Description |
9582
9588
  |---|---|---|---|
9583
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
9589
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
9584
9590
 
9585
9591
  #### Known limits
9586
9592
 
9587
9593
  - Paging and virtualisation do not combine; one table does one or the other.
9588
- - No loading more rows while scrolling: a table on a server pages ([Server mode](#/server-mode)).
9594
+ - No loading more rows while scrolling: a table on a server pages ([Server mode](#server-mode)).
9589
9595
 
9590
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
9596
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
9591
9597
 
9592
9598
  ### Benchmark
9593
9599
 
@@ -9597,8 +9603,6 @@ Up to two hundred thousand rows, measured in this browser rather than claimed: t
9597
9603
  import { useTable } from "@umriss-ui/table";
9598
9604
  ```
9599
9605
 
9600
- Demo page: https://romanhaendler.github.io/umriss-ui/table/benchmark/
9601
-
9602
9606
  The figures come from the clock around each change, with nothing added to the table. The reference figures in `packages/table/docs/capabilities.md` come from here.
9603
9607
 
9604
9608
  #### Examples
@@ -9911,65 +9915,65 @@ export default function Benchmark() {
9911
9915
 
9912
9916
  #### Keyboard
9913
9917
 
9914
- The keys of [First table](#/first-table/keyboard-first-table), [Virtualisation](#/virtualisation/keyboard-virtualisation) and [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) apply here.
9918
+ The keys of [First table](#first-table), [Virtualisation](#virtualisation) and Button apply here.
9915
9919
 
9916
9920
  #### Props on this page
9917
9921
 
9918
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
9922
+ From `TableProps` — the full table stands on [First table](#first-table).
9919
9923
 
9920
9924
  | Prop | Type | Default | Description |
9921
9925
  |---|---|---|---|
9922
- | [`stickyHeader`](#/first-table/TableProps-stickyHeader) | `boolean` | — | Keeps the header row visible while scrolling. |
9923
- | [`maxHeight`](#/first-table/TableProps-maxHeight) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
9924
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
9926
+ | [`stickyHeader`](#first-table) | `boolean` | — | Keeps the header row visible while scrolling. |
9927
+ | [`maxHeight`](#first-table) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
9928
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
9925
9929
 
9926
9930
  ###### Accessibility
9927
9931
 
9928
9932
  | Prop | Type | Default | Description |
9929
9933
  |---|---|---|---|
9930
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
9934
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
9931
9935
 
9932
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
9936
+ From `TableOptions` — the full table stands on [First table](#first-table).
9933
9937
 
9934
9938
  | Prop | Type | Default | Description |
9935
9939
  |---|---|---|---|
9936
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9937
- | [`pageSize`](#/first-table/TableOptions-pageSize) | `number` | `10` | How many rows a page holds. |
9938
- | [`defaultGrouping`](#/first-table/TableOptions-defaultGrouping) | [`GroupingId`](#/first-table/type-GroupingId)`<Z> \| readonly `[`GroupingId`](#/first-table/type-GroupingId)`<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out. |
9939
- | [`virtual`](#/first-table/TableOptions-virtual) | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). |
9940
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9941
+ | [`pageSize`](#first-table) | `number` | `10` | How many rows a page holds. |
9942
+ | [`defaultGrouping`](#first-table) | [`GroupingId`](#first-table)`<Z> \| readonly `[`GroupingId`](#first-table)`<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out. |
9943
+ | [`virtual`](#first-table) | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). |
9940
9944
 
9941
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
9945
+ From `FieldColumn` — the full table stands on [Column](#column).
9942
9946
 
9943
9947
  | Prop | Type | Default | Description |
9944
9948
  |---|---|---|---|
9945
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
9946
- | [`children`](#/column/FieldColumn-children) | [`Presentation`](#/column/type-Presentation)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
9949
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
9950
+ | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
9947
9951
 
9948
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
9952
+ From `ColumnBase` — the full table stands on [Column](#column).
9949
9953
 
9950
9954
  | Prop | Type | Default | Description |
9951
9955
  |---|---|---|---|
9952
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
9953
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
9954
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
9956
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
9957
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
9958
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
9955
9959
 
9956
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
9960
+ From `SearchProps` — the full table stands on [Search](#search).
9957
9961
 
9958
9962
  | Prop | Type | Default | Description |
9959
9963
  |---|---|---|---|
9960
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
9964
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
9961
9965
 
9962
- From `AggregateOptions` — the full table stands on [Aggregate](#/aggregate/type-AggregateOptions).
9966
+ From `AggregateOptions` — the full table stands on [Aggregate](#aggregate).
9963
9967
 
9964
9968
  | Prop | Type | Default | Description |
9965
9969
  |---|---|---|---|
9966
- | [`aggregate`](#/aggregate/AggregateOptions-aggregate) | [`AggregateFor`](#/aggregate/type-AggregateFor)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
9970
+ | [`aggregate`](#aggregate) | [`AggregateFor`](#aggregate)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
9967
9971
 
9968
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
9972
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
9969
9973
 
9970
9974
  | Prop | Type | Default | Description |
9971
9975
  |---|---|---|---|
9972
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
9976
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
9973
9977
 
9974
9978
  ### Server mode
9975
9979
 
@@ -9979,8 +9983,6 @@ A table over rows a server holds: the application hands in one page and the serv
9979
9983
  import { useTable } from "@umriss-ui/table";
9980
9984
  ```
9981
9985
 
9982
- Demo page: https://romanhaendler.github.io/umriss-ui/table/server-mode/
9983
-
9984
9986
  `onRequest` reports the request whenever what decides the rows changes – search, conditions, sort, page, page size – complete, defaults included, since a server has no default of the table's.
9985
9987
 
9986
9988
  Requests are the application's: the table shows whatever rows it is given, so an answer to a view the user has already left is the application's to drop.
@@ -10911,63 +10913,63 @@ export default function AMillionRowsOnAServer() {
10911
10913
 
10912
10914
  #### Keyboard
10913
10915
 
10914
- The keys of [First table](#/first-table/keyboard-first-table), [Input](https://romanhaendler.github.io/umriss-ui/core/input/#keyboard-input), [ColumnMenu](#/columnmenu/keyboard-columnmenu), [Select](https://romanhaendler.github.io/umriss-ui/core/select/#keyboard-select), [Button](https://romanhaendler.github.io/umriss-ui/core/button/#keyboard-button) and [Checkbox](https://romanhaendler.github.io/umriss-ui/core/checkbox/#keyboard-checkbox) apply here.
10916
+ The keys of [First table](#first-table), Input, [ColumnMenu](#columnmenu), Select, Button and Checkbox apply here.
10915
10917
 
10916
10918
  #### Props on this page
10917
10919
 
10918
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
10920
+ From `TableProps` — the full table stands on [First table](#first-table).
10919
10921
 
10920
10922
  | Prop | Type | Default | Description |
10921
10923
  |---|---|---|---|
10922
- | [`selectable`](#/first-table/TableProps-selectable) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
10923
- | [`loading`](#/first-table/TableProps-loading) | `boolean` | — | Shows placeholder rows instead of the rows. |
10924
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
10924
+ | [`selectable`](#first-table) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
10925
+ | [`loading`](#first-table) | `boolean` | — | Shows placeholder rows instead of the rows. |
10926
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
10925
10927
 
10926
10928
  ###### Accessibility
10927
10929
 
10928
10930
  | Prop | Type | Default | Description |
10929
10931
  |---|---|---|---|
10930
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
10932
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
10931
10933
 
10932
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
10934
+ From `TableOptions` — the full table stands on [First table](#first-table).
10933
10935
 
10934
10936
  | Prop | Type | Default | Description |
10935
10937
  |---|---|---|---|
10936
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
10937
- | [`defaultSort`](#/first-table/TableOptions-defaultSort) | [`SortLevel`](#/first-table/type-SortLevel)` \| readonly `[`SortLevel`](#/first-table/type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
10938
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
10939
+ | [`defaultSort`](#first-table) | [`SortLevel`](#first-table)` \| readonly `[`SortLevel`](#first-table)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
10938
10940
 
10939
- From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
10941
+ From `TableSnapshot` — the full table stands on [First table](#first-table).
10940
10942
 
10941
10943
  | Prop | Type | Default | Description |
10942
10944
  |---|---|---|---|
10943
- | [`selection`](#/first-table/TableSnapshot-selection) *required* | [`TableSelection`](#/first-table/type-TableSelection)`<string>` | — | The selection – its own or the one handed in through `selection`. |
10945
+ | [`selection`](#first-table) *required* | [`TableSelection`](#first-table)`<string>` | — | The selection – its own or the one handed in through `selection`. |
10944
10946
 
10945
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
10947
+ From `FieldColumn` — the full table stands on [Column](#column).
10946
10948
 
10947
10949
  | Prop | Type | Default | Description |
10948
10950
  |---|---|---|---|
10949
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
10950
- | [`filter`](#/column/FieldColumn-filter) | [`FilterFor`](#/column/type-FilterFor)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
10951
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
10952
+ | [`filter`](#column) | [`FilterFor`](#column)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
10951
10953
 
10952
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
10954
+ From `ColumnBase` — the full table stands on [Column](#column).
10953
10955
 
10954
10956
  | Prop | Type | Default | Description |
10955
10957
  |---|---|---|---|
10956
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
10957
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
10958
- | [`sortable`](#/column/ColumnBase-sortable) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
10958
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
10959
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
10960
+ | [`sortable`](#column) | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by. |
10959
10961
 
10960
- From `SearchProps` — the full table stands on [Search](#/search/type-SearchProps).
10962
+ From `SearchProps` — the full table stands on [Search](#search).
10961
10963
 
10962
10964
  | Prop | Type | Default | Description |
10963
10965
  |---|---|---|---|
10964
- | [`placeholder`](#/search/SearchProps-placeholder) | `string` | the wording's "Search …" | The placeholder in the field. |
10966
+ | [`placeholder`](#search) | `string` | the wording's "Search …" | The placeholder in the field. |
10965
10967
 
10966
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
10968
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
10967
10969
 
10968
10970
  | Prop | Type | Default | Description |
10969
10971
  |---|---|---|---|
10970
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
10972
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
10971
10973
 
10972
10974
  #### Known limits
10973
10975
 
@@ -10976,7 +10978,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-Toolba
10976
10978
  - A list filter offers what `filterOptions` names; the table cannot count values it does not hold.
10977
10979
  - No loading more rows while scrolling: paging and virtualisation do not combine.
10978
10980
 
10979
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
10981
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
10980
10982
 
10981
10983
  ## Editing
10982
10984
 
@@ -10990,8 +10992,6 @@ Make the table one Tab stop whose cells the arrow keys walk, as in a spreadsheet
10990
10992
  import { useTable } from "@umriss-ui/table";
10991
10993
  ```
10992
10994
 
10993
- Demo page: https://romanhaendler.github.io/umriss-ui/table/grid-mode/
10994
-
10995
10995
  A table is read by default: a native table, where every control is one Tab away and a screen reader keeps its table keys. Grid mode changes that on request only ([ADR-0034](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0034-the-table-becomes-a-grid-only-on-request.md)).
10996
10996
 
10997
10997
  #### Examples
@@ -11125,78 +11125,78 @@ export default function TheWholeGrid() {
11125
11125
 
11126
11126
  #### Props on this page
11127
11127
 
11128
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
11128
+ From `TableProps` — the full table stands on [First table](#first-table).
11129
11129
 
11130
11130
  | Prop | Type | Default | Description |
11131
11131
  |---|---|---|---|
11132
- | [`selectable`](#/first-table/TableProps-selectable) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
11133
- | [`stickyHeader`](#/first-table/TableProps-stickyHeader) | `boolean` | — | Keeps the header row visible while scrolling. |
11134
- | [`maxHeight`](#/first-table/TableProps-maxHeight) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
11135
- | [`grid`](#/first-table/TableProps-grid) | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table. |
11136
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
11132
+ | [`selectable`](#first-table) | `boolean` | — | Adds the selection column. "All" means: the filtered set. |
11133
+ | [`stickyHeader`](#first-table) | `boolean` | — | Keeps the header row visible while scrolling. |
11134
+ | [`maxHeight`](#first-table) | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it. |
11135
+ | [`grid`](#first-table) | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table. |
11136
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
11137
11137
 
11138
11138
  ###### Events
11139
11139
 
11140
11140
  | Prop | Type | Default | Description |
11141
11141
  |---|---|---|---|
11142
- | [`onCellEdit`](#/first-table/TableProps-onCellEdit) | `(edit: `[`CellEdit`](#/first-table/type-CellEdit)`<Z>) => void` | — | Grid mode: an edit the user committed. The table applies nothing; the cell shows the new value when the rows passed in carry it. |
11142
+ | [`onCellEdit`](#first-table) | `(edit: `[`CellEdit`](#first-table)`<Z>) => void` | — | Grid mode: an edit the user committed. The table applies nothing; the cell shows the new value when the rows passed in carry it. |
11143
11143
 
11144
11144
  ###### Accessibility
11145
11145
 
11146
11146
  | Prop | Type | Default | Description |
11147
11147
  |---|---|---|---|
11148
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
11148
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
11149
11149
 
11150
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
11150
+ From `TableOptions` — the full table stands on [First table](#first-table).
11151
11151
 
11152
11152
  | Prop | Type | Default | Description |
11153
11153
  |---|---|---|---|
11154
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
11155
- | [`defaultSort`](#/first-table/TableOptions-defaultSort) | [`SortLevel`](#/first-table/type-SortLevel)` \| readonly `[`SortLevel`](#/first-table/type-SortLevel)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
11156
- | [`defaultGrouping`](#/first-table/TableOptions-defaultGrouping) | [`GroupingId`](#/first-table/type-GroupingId)`<Z> \| readonly `[`GroupingId`](#/first-table/type-GroupingId)`<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out. |
11157
- | [`virtual`](#/first-table/TableOptions-virtual) | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). |
11154
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
11155
+ | [`defaultSort`](#first-table) | [`SortLevel`](#first-table)` \| readonly `[`SortLevel`](#first-table)`[] \| null` | `null` | The application's sort; it is the default that `view` leaves out. |
11156
+ | [`defaultGrouping`](#first-table) | [`GroupingId`](#first-table)`<Z> \| readonly `[`GroupingId`](#first-table)`<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out. |
11157
+ | [`virtual`](#first-table) | `boolean \| { overscan?: number }` | — | Renders only what stands in the scroll area; paging is then off. Every row is one row pitch tall, which the table measures itself ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). |
11158
11158
 
11159
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
11159
+ From `FieldColumn` — the full table stands on [Column](#column).
11160
11160
 
11161
11161
  | Prop | Type | Default | Description |
11162
11162
  |---|---|---|---|
11163
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
11164
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
11165
- | [`edit`](#/column/FieldColumn-edit) | [`EditFor`](#/column/type-EditFor)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
11166
- | [`validate`](#/column/FieldColumn-validate) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
11163
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
11164
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
11165
+ | [`edit`](#column) | [`EditFor`](#column)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
11166
+ | [`validate`](#column) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
11167
11167
 
11168
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
11168
+ From `ColumnBase` — the full table stands on [Column](#column).
11169
11169
 
11170
11170
  | Prop | Type | Default | Description |
11171
11171
  |---|---|---|---|
11172
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
11173
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
11174
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
11175
- | [`pin`](#/column/ColumnBase-pin) | [`Pin`](#/column/type-Pin)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room. |
11172
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
11173
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
11174
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
11175
+ | [`pin`](#column) | [`Pin`](#column)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room. |
11176
11176
 
11177
- From `AggregateOptions` — the full table stands on [Aggregate](#/aggregate/type-AggregateOptions).
11177
+ From `AggregateOptions` — the full table stands on [Aggregate](#aggregate).
11178
11178
 
11179
11179
  | Prop | Type | Default | Description |
11180
11180
  |---|---|---|---|
11181
- | [`aggregate`](#/aggregate/AggregateOptions-aggregate) | [`AggregateFor`](#/aggregate/type-AggregateFor)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
11181
+ | [`aggregate`](#aggregate) | [`AggregateFor`](#aggregate)`<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing. |
11182
11182
 
11183
- From `RowActionsProps` — the full table stands on [RowActions](#/rowactions/type-RowActionsProps).
11183
+ From `RowActionsProps` — the full table stands on [RowActions](#rowactions).
11184
11184
 
11185
11185
  | Prop | Type | Default | Description |
11186
11186
  |---|---|---|---|
11187
- | [`children`](#/rowactions/RowActionsProps-children) *required* | `ReactNode` | — | The row's `Action`s. |
11187
+ | [`children`](#rowactions) *required* | `ReactNode` | — | The row's `Action`s. |
11188
11188
 
11189
- From `ActionProps` — the full table stands on [RowActions](#/rowactions/type-ActionProps).
11189
+ From `ActionProps` — the full table stands on [RowActions](#rowactions).
11190
11190
 
11191
11191
  | Prop | Type | Default | Description |
11192
11192
  |---|---|---|---|
11193
- | [`children`](#/rowactions/ActionProps-children) *required* | `string` | — | The label – text, because it is read out together with the row's name. |
11193
+ | [`children`](#rowactions) *required* | `string` | — | The label – text, because it is read out together with the row's name. |
11194
11194
 
11195
11195
  ###### Events
11196
11196
 
11197
11197
  | Prop | Type | Default | Description |
11198
11198
  |---|---|---|---|
11199
- | [`onSelect`](#/rowactions/ActionProps-onSelect) *required* | `((row: Z) => void) \| ((rows: readonly Z[]) => void)` | — | Gets the row the action was triggered on. With `bulk` a list: at the row one made from it, in the table toolbar the selection. |
11199
+ | [`onSelect`](#rowactions) *required* | `((row: Z) => void) \| ((rows: readonly Z[]) => void)` | — | Gets the row the action was triggered on. With `bulk` a list: at the row one made from it, in the table toolbar the selection. |
11200
11200
 
11201
11201
  ### Edits
11202
11202
 
@@ -11206,8 +11206,6 @@ Let people change a value in its cell. The table reports each edit, and the appl
11206
11206
  import { useTable } from "@umriss-ui/table";
11207
11207
  ```
11208
11208
 
11209
- Demo page: https://romanhaendler.github.io/umriss-ui/table/edits/
11210
-
11211
11209
  An edit is reported, never applied: the application owns the rows. `validate` keeps the editor open with its message until the draft passes.
11212
11210
 
11213
11211
  By default each cell is reported as it is left (`onCellEdit`) - for another cell, or by a click outside the table. `editMode="row"` opens a whole row as one draft and reports it only when it is saved (`onRowSave`); a row with a draft is left only by saving or discarding it ([ADR-0036](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0036-a-grid-edits-on-the-first-click-and-saves-rows-on-purpose.md)).
@@ -11522,66 +11520,66 @@ export default function EditADenseTable() {
11522
11520
 
11523
11521
  #### Props on this page
11524
11522
 
11525
- From `TableProps` — the full table stands on [First table](#/first-table/type-TableProps).
11523
+ From `TableProps` — the full table stands on [First table](#first-table).
11526
11524
 
11527
11525
  | Prop | Type | Default | Description |
11528
11526
  |---|---|---|---|
11529
- | [`density`](#/first-table/TableProps-density) | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand. |
11530
- | [`grid`](#/first-table/TableProps-grid) | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table. |
11531
- | [`editMode`](#/first-table/TableProps-editMode) | `"cell" \| "row"` | — | Grid mode ([ADR-0036](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0036-a-grid-edits-on-the-first-click-and-saves-rows-on-purpose.md)): `"cell"` reports every cell as it is left (`onCellEdit`); `"row"` opens every cell of a row that edits at once, as one **Row draft**, and reports it only when the row is saved on purpose (`onRowSave`) - by its Save button or Enter; Escape or Discard drops it. A row with a draft is left only by saving or discarding it. |
11532
- | [`newRow`](#/first-table/TableProps-newRow) | `() => Partial<Z>` | — | What a new row starts with - the values the columns read before anything is typed. Without it, nothing. |
11533
- | [`children`](#/first-table/TableProps-children) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
11527
+ | [`density`](#first-table) | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand. |
11528
+ | [`grid`](#first-table) | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table. |
11529
+ | [`editMode`](#first-table) | `"cell" \| "row"` | — | Grid mode ([ADR-0036](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0036-a-grid-edits-on-the-first-click-and-saves-rows-on-purpose.md)): `"cell"` reports every cell as it is left (`onCellEdit`); `"row"` opens every cell of a row that edits at once, as one **Row draft**, and reports it only when the row is saved on purpose (`onRowSave`) - by its Save button or Enter; Escape or Discard drops it. A row with a draft is left only by saving or discarding it. |
11530
+ | [`newRow`](#first-table) | `() => Partial<Z>` | — | What a new row starts with - the values the columns read before anything is typed. Without it, nothing. |
11531
+ | [`children`](#first-table) | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts. |
11534
11532
 
11535
11533
  ###### Events
11536
11534
 
11537
11535
  | Prop | Type | Default | Description |
11538
11536
  |---|---|---|---|
11539
- | [`onCellEdit`](#/first-table/TableProps-onCellEdit) | `(edit: `[`CellEdit`](#/first-table/type-CellEdit)`<Z>) => void` | — | Grid mode: an edit the user committed. The table applies nothing; the cell shows the new value when the rows passed in carry it. |
11540
- | [`onRowSave`](#/first-table/TableProps-onRowSave) | `(save: `[`RowSave`](#/first-table/type-RowSave)`<Z>) => void` | — | `editMode="row"`: a saved Row draft, with the columns it changed. |
11541
- | [`onRowAdd`](#/first-table/TableProps-onRowAdd) | `(add: `[`RowAdd`](#/first-table/type-RowAdd)`) => void` | — | Grid mode: puts up a "New row" button - in the table toolbar, or beneath the table without one. It opens an empty Row draft above the rows; saved, it is reported whole. The row appears when the rows passed in carry it. |
11542
- | [`onRowDelete`](#/first-table/TableProps-onRowDelete) | `(remove: `[`RowDelete`](#/first-table/type-RowDelete)`<Z>) => void` | — | Grid mode: a Delete button on every row, which asks inside its row before the delete is reported. The table removes nothing. |
11537
+ | [`onCellEdit`](#first-table) | `(edit: `[`CellEdit`](#first-table)`<Z>) => void` | — | Grid mode: an edit the user committed. The table applies nothing; the cell shows the new value when the rows passed in carry it. |
11538
+ | [`onRowSave`](#first-table) | `(save: `[`RowSave`](#first-table)`<Z>) => void` | — | `editMode="row"`: a saved Row draft, with the columns it changed. |
11539
+ | [`onRowAdd`](#first-table) | `(add: `[`RowAdd`](#first-table)`) => void` | — | Grid mode: puts up a "New row" button - in the table toolbar, or beneath the table without one. It opens an empty Row draft above the rows; saved, it is reported whole. The row appears when the rows passed in carry it. |
11540
+ | [`onRowDelete`](#first-table) | `(remove: `[`RowDelete`](#first-table)`<Z>) => void` | — | Grid mode: a Delete button on every row, which asks inside its row before the delete is reported. The table removes nothing. |
11543
11541
 
11544
11542
  ###### Accessibility
11545
11543
 
11546
11544
  | Prop | Type | Default | Description |
11547
11545
  |---|---|---|---|
11548
- | [`ariaLabel`](#/first-table/TableProps-ariaLabel) | `string` | — | Accessible name of the table (not of the outer frame). |
11546
+ | [`ariaLabel`](#first-table) | `string` | — | Accessible name of the table (not of the outer frame). |
11549
11547
 
11550
- From `TableOptions` — the full table stands on [First table](#/first-table/type-TableOptions).
11548
+ From `TableOptions` — the full table stands on [First table](#first-table).
11551
11549
 
11552
11550
  | Prop | Type | Default | Description |
11553
11551
  |---|---|---|---|
11554
- | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
11552
+ | [`rowKey`](#first-table) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
11555
11553
 
11556
- From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
11554
+ From `FieldColumn` — the full table stands on [Column](#column).
11557
11555
 
11558
11556
  | Prop | Type | Default | Description |
11559
11557
  |---|---|---|---|
11560
- | [`value`](#/column/FieldColumn-value) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
11561
- | [`format`](#/column/FieldColumn-format) | [`FormatFor`](#/column/type-FormatFor)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
11562
- | [`edit`](#/column/FieldColumn-edit) | [`EditFor`](#/column/type-EditFor)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
11563
- | [`editOptions`](#/column/FieldColumn-editOptions) | `readonly `[`Present`](#/column/type-Present)`<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`. |
11564
- | [`validate`](#/column/FieldColumn-validate) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
11558
+ | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
11559
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
11560
+ | [`edit`](#column) | [`EditFor`](#column)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
11561
+ | [`editOptions`](#column) | `readonly `[`Present`](#column)`<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`. |
11562
+ | [`validate`](#column) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
11565
11563
 
11566
- From `ColumnBase` — the full table stands on [Column](#/column/type-ColumnBase).
11564
+ From `ColumnBase` — the full table stands on [Column](#column).
11567
11565
 
11568
11566
  | Prop | Type | Default | Description |
11569
11567
  |---|---|---|---|
11570
- | [`label`](#/column/ColumnBase-label) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
11571
- | [`rowHeader`](#/column/ColumnBase-rowHeader) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
11572
- | [`width`](#/column/ColumnBase-width) | `number` | the browser's | Initial width in pixels. |
11568
+ | [`label`](#column) *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export. |
11569
+ | [`rowHeader`](#column) | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table. |
11570
+ | [`width`](#column) | `number` | the browser's | Initial width in pixels. |
11573
11571
 
11574
- From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-ToolbarProps).
11572
+ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
11575
11573
 
11576
11574
  | Prop | Type | Default | Description |
11577
11575
  |---|---|---|---|
11578
- | [`children`](#/toolbar/ToolbarProps-children) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
11576
+ | [`children`](#toolbar) | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions. |
11579
11577
 
11580
11578
  #### Known limits
11581
11579
 
11582
- - No cell range selection and no undo ([ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/)).
11580
+ - No cell range selection and no undo ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md)).
11583
11581
 
11584
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
11582
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
11585
11583
 
11586
11584
  ## Limits and alarms
11587
11585
 
@@ -11595,8 +11593,6 @@ A column that judges each value against limits – ok, warning, alarm or unknown
11595
11593
  import { useTable } from "@umriss-ui/table";
11596
11594
  ```
11597
11595
 
11598
- Demo page: https://romanhaendler.github.io/umriss-ui/table/verdictcolumn/
11599
-
11600
11596
  A missing value reads “unknown”: a fourth verdict, not a blank cell. Each verdict carries a shape and a word as well as a colour, and a value past a limit shows its excess beside it.
11601
11597
 
11602
11598
  It sorts by the verdict's weight – ok, unknown, warning, alarm – so values far out on either side meet at one end; `sortBy="value"` sorts by the number. It exports the value, not the verdict. The limit set is the one @umriss-ui/core and @umriss-ui/charts read ([ADR-0006](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0006-the-limit-model-lives-in-both-packages.md)).
@@ -11820,7 +11816,7 @@ export default function ShowTheWorst() {
11820
11816
 
11821
11817
  #### Keyboard
11822
11818
 
11823
- The keys of [First table](#/first-table/keyboard-first-table) apply here.
11819
+ The keys of [First table](#first-table) apply here.
11824
11820
 
11825
11821
  #### API
11826
11822
 
@@ -11828,14 +11824,14 @@ The keys of [First table](#/first-table/keyboard-first-table) apply here.
11828
11824
 
11829
11825
  | Prop | Type | Default | Description |
11830
11826
  |---|---|---|---|
11831
- | `label` *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export.<br>Shown in: [Read latency against its objective](#/verdictcolumn/read-latency-against-its-objective), [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value), [Judge a computed share](#/verdictcolumn/judge-a-computed-share) and 5 more |
11832
- | `limits` *required* | [`LimitSet`](#type-LimitSet) | — | The limit set every value is read against.<br>Shown in: [Read latency against its objective](#/verdictcolumn/read-latency-against-its-objective), [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value), [Judge a computed share](#/verdictcolumn/judge-a-computed-share) and 5 more |
11833
- | `format` | [`NumberFormat`](#type-NumberFormat) | — | How the value and its excess are written.<br>Shown in: [Judge a computed share](#/verdictcolumn/judge-a-computed-share), [Show the worst in the footer](#/verdictcolumn/show-the-worst-in-the-footer), [Carry the worst verdict up (Aggregate)](#/aggregate/worst-verdict) and 1 more |
11834
- | `sortBy` | `"verdict" \| "value"` | `"verdict"` | What the column sorts by: by the weight of the verdict (with equal weight the existing order stays) – or by the value.<br>Shown in: [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value) |
11835
- | `width` | `number` | the browser's | Initial width in pixels.<br>Shown in: [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides) |
11827
+ | `label` *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export.<br>Shown in: [Read latency against its objective](#verdictcolumn), [Sort by verdict or by value](#verdictcolumn), [Judge a computed share](#verdictcolumn) and 5 more |
11828
+ | `limits` *required* | `LimitSet` | — | The limit set every value is read against.<br>Shown in: [Read latency against its objective](#verdictcolumn), [Sort by verdict or by value](#verdictcolumn), [Judge a computed share](#verdictcolumn) and 5 more |
11829
+ | `format` | `NumberFormat` | — | How the value and its excess are written.<br>Shown in: [Judge a computed share](#verdictcolumn), [Show the worst in the footer](#verdictcolumn), [Carry the worst verdict up (Aggregate)](#aggregate) and 1 more |
11830
+ | `sortBy` | `"verdict" \| "value"` | `"verdict"` | What the column sorts by: by the weight of the verdict (with equal weight the existing order stays) – or by the value.<br>Shown in: [Sort by verdict or by value](#verdictcolumn) |
11831
+ | `width` | `number` | the browser's | Initial width in pixels.<br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning) |
11836
11832
  | `resizable` | `boolean` | — | Shows the drag grip on the header cell. |
11837
- | `pin` | [`Pin`](#type-Pin)<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways, before or after every other column.<br>Shown in: [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides) |
11838
- | `aggregate` | `"worst"` | — | `"worst"`: the worst verdict among the rows – in the footer and in a group's header.<br>Shown in: [Show the worst in the footer](#/verdictcolumn/show-the-worst-in-the-footer), [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Read a day's deliveries by depot (Grouping)](#/grouping/the-dispatch-report) and 2 more |
11833
+ | `pin` | `Pin`<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways, before or after every other column.<br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning) |
11834
+ | `aggregate` | `"worst"` | — | `"worst"`: the worst verdict among the rows – in the footer and in a group's header.<br>Shown in: [Show the worst in the footer](#verdictcolumn), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Read a day's deliveries by depot (Grouping)](#grouping-1) and 2 more |
11839
11835
 
11840
11836
  ##### Types on this page
11841
11837
 
@@ -11850,8 +11846,8 @@ violated, and it is never the edge of a region.
11850
11846
 
11851
11847
  | Prop | Type | Default | Description |
11852
11848
  |---|---|---|---|
11853
- | `limits` | `readonly `[`Limit`](#type-Limit)`[]` | — | In any order; none, one or several.<br>Shown in: [Read latency against its objective](#/verdictcolumn/read-latency-against-its-objective), [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value), [Judge a computed share](#/verdictcolumn/judge-a-computed-share) and 5 more |
11854
- | `target` | `number` | — | <br>Shown in: [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Carry the worst verdict up (Aggregate)](#/aggregate/worst-verdict), [Review cost centres against budget (Scenarios)](#/scenarios/review-cost-centres) |
11849
+ | `limits` | `readonly ``Limit``[]` | — | In any order; none, one or several.<br>Shown in: [Read latency against its objective](#verdictcolumn), [Sort by verdict or by value](#verdictcolumn), [Judge a computed share](#verdictcolumn) and 5 more |
11850
+ | `target` | `number` | — | <br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Carry the worst verdict up (Aggregate)](#aggregate), [Review cost centres against budget (Scenarios)](#review-cost-centres-against-budget) |
11855
11851
 
11856
11852
  ###### `NumberFormat`
11857
11853
 
@@ -11881,9 +11877,9 @@ force a `null` on one edge in the one-sided case.
11881
11877
 
11882
11878
  | Prop | Type | Default | Description |
11883
11879
  |---|---|---|---|
11884
- | `value` *required* | `number` | — | <br>Shown in: [Read latency against its objective](#/verdictcolumn/read-latency-against-its-objective), [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value), [Judge a computed share](#/verdictcolumn/judge-a-computed-share) and 5 more |
11885
- | `side` *required* | [`Side`](#type-Side)<br>`"upper" \| "lower"` | — | <br>Shown in: [Read latency against its objective](#/verdictcolumn/read-latency-against-its-objective), [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value), [Judge a computed share](#/verdictcolumn/judge-a-computed-share) and 5 more |
11886
- | `severity` *required* | [`Severity`](#type-Severity)<br>`"warning" \| "alarm"` | — | <br>Shown in: [Read latency against its objective](#/verdictcolumn/read-latency-against-its-objective), [Sort by verdict or by value](#/verdictcolumn/sort-by-verdict-or-by-value), [Judge a computed share](#/verdictcolumn/judge-a-computed-share) and 5 more |
11880
+ | `value` *required* | `number` | — | <br>Shown in: [Read latency against its objective](#verdictcolumn), [Sort by verdict or by value](#verdictcolumn), [Judge a computed share](#verdictcolumn) and 5 more |
11881
+ | `side` *required* | `Side`<br>`"upper" \| "lower"` | — | <br>Shown in: [Read latency against its objective](#verdictcolumn), [Sort by verdict or by value](#verdictcolumn), [Judge a computed share](#verdictcolumn) and 5 more |
11882
+ | `severity` *required* | `Severity`<br>`"warning" \| "alarm"` | — | <br>Shown in: [Read latency against its objective](#verdictcolumn), [Sort by verdict or by value](#verdictcolumn), [Judge a computed share](#verdictcolumn) and 5 more |
11887
11883
 
11888
11884
  ###### `Side`
11889
11885
 
@@ -11912,7 +11908,7 @@ type Severity = "warning" | "alarm";
11912
11908
  - No list filter: four verdicts are sorted, not filtered.
11913
11909
  - It does not judge whether a value is stale; a stale value keeps its verdict ([ADR-0010](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0010-a-stale-value-keeps-its-verdict.md)).
11914
11910
 
11915
- What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
11911
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.42.0/docs/adr/0032-what-umriss-is-not.md).
11916
11912
 
11917
11913
  ## API index
11918
11914
 
@@ -11922,39 +11918,37 @@ Every name the package exports, in one place.
11922
11918
 
11923
11919
  Everything `@umriss-ui/table` exports, with its signature. A component's props stand on its own page.
11924
11920
 
11925
- Demo page: https://romanhaendler.github.io/umriss-ui/table/api/
11926
-
11927
11921
  #### Components
11928
11922
 
11929
11923
  ##### `ColumnMenu`
11930
11924
 
11931
- [ColumnMenu](#/columnmenu) – A menu in which the user shows, hides, reorders and pins the table's columns and picks a grouping (also called a column chooser). Offer it where the table has more columns than everyone needs.
11925
+ [ColumnMenu](#columnmenu) – A menu in which the user shows, hides, reorders and pins the table's columns and picks a grouping (also called a column chooser). Offer it where the table has more columns than everyone needs.
11932
11926
 
11933
- Used on [Scenarios](#/), [Provider](#/provider), [Column](#/column), [Width and pinning](#/width-and-pinning), [Search](#/search), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [ColumnMenu](#/columnmenu), [View](#/view) and [Server mode](#/server-mode).
11927
+ Used on [Scenarios](#scenarios), [Provider](#provider), [Column](#column), [Width and pinning](#width-and-pinning), [Search](#search), [Grouping](#grouping-1), [Tree rows](#tree-rows), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [ColumnMenu](#columnmenu), [View](#view) and [Server mode](#server-mode).
11934
11928
 
11935
11929
  ##### `Export`
11936
11930
 
11937
- [Export](#/export) – A button that writes the rows the user sees into a CSV file for a spreadsheet (also called download or export to Excel). Hand the application the text instead where it wants the clipboard or a file of its own.
11931
+ [Export](#export) – A button that writes the rows the user sees into a CSV file for a spreadsheet (also called download or export to Excel). Hand the application the text instead where it wants the clipboard or a file of its own.
11938
11932
 
11939
- Used on [Scenarios](#/), [Provider](#/provider), [Sorting](#/sorting), [Search](#/search), [Grouping](#/grouping), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Export](#/export) and [Server mode](#/server-mode).
11933
+ Used on [Scenarios](#scenarios), [Provider](#provider), [Sorting](#sorting), [Search](#search), [Grouping](#grouping-1), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [Export](#export) and [Server mode](#server-mode).
11940
11934
 
11941
11935
  ##### `Pagination`
11942
11936
 
11943
- [Pagination](#/pagination) – The bar under the table that splits long results into pages, with the page size to choose (also called a pager). The table pages only where one stands; without it every filtered row is shown.
11937
+ [Pagination](#pagination) – The bar under the table that splits long results into pages, with the page size to choose (also called a pager). The table pages only where one stands; without it every filtered row is shown.
11944
11938
 
11945
- Used on [Scenarios](#/), [First table](#/first-table), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Pagination](#/pagination), [Benchmark](#/benchmark) and [Server mode](#/server-mode).
11939
+ Used on [Scenarios](#scenarios), [First table](#first-table), [Filter](#filter), [Pre-filter](#pre-filter), [Grouping](#grouping-1), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [Pagination](#pagination), [Benchmark](#benchmark) and [Server mode](#server-mode).
11946
11940
 
11947
11941
  ##### `Search`
11948
11942
 
11949
- [Search](#/search) – A text field that narrows the table to the rows containing what the user types (also called a quick filter or global filter). Put it in the toolbar, or anywhere on the page.
11943
+ [Search](#search) – A text field that narrows the table to the rows containing what the user types (also called a quick filter or global filter). Put it in the toolbar, or anywhere on the page.
11950
11944
 
11951
- Used on [Scenarios](#/), [First table](#/first-table), [Provider](#/provider), [Formats](#/formats), [Sorting](#/sorting), [Search](#/search), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Aggregate](#/aggregate), [Selection](#/selection), [Row appearance](#/row-appearance), [RowDetail](#/rowdetail), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Export](#/export), [View](#/view), [Pagination](#/pagination), [Virtualisation](#/virtualisation), [Benchmark](#/benchmark), [Server mode](#/server-mode), [Grid mode](#/grid-mode) and [Edits](#/edits).
11945
+ Used on [Scenarios](#scenarios), [First table](#first-table), [Provider](#provider), [Formats](#formats), [Sorting](#sorting), [Search](#search), [Filter](#filter), [Pre-filter](#pre-filter), [Grouping](#grouping-1), [Tree rows](#tree-rows), [Aggregate](#aggregate), [Selection](#selection), [Row appearance](#row-appearance), [RowDetail](#rowdetail), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [Export](#export), [View](#view), [Pagination](#pagination), [Virtualisation](#virtualisation), [Benchmark](#benchmark), [Server mode](#server-mode), [Grid mode](#grid-mode) and [Edits](#edits).
11952
11946
 
11953
11947
  ##### `Toolbar`
11954
11948
 
11955
- [Toolbar](#/toolbar) – The bar above the table that holds its search, column menu and export, shows how many rows match, and carries the bulk actions while rows are ticked (also called a table header bar).
11949
+ [Toolbar](#toolbar) – The bar above the table that holds its search, column menu and export, shows how many rows match, and carries the bulk actions while rows are ticked (also called a table header bar).
11956
11950
 
11957
- Used on [Scenarios](#/), [First table](#/first-table), [Provider](#/provider), [Column](#/column), [Width and pinning](#/width-and-pinning), [Sorting](#/sorting), [Search](#/search), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Aggregate](#/aggregate), [Selection](#/selection), [Row appearance](#/row-appearance), [RowDetail](#/rowdetail), [RowActions](#/rowactions), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [ColumnMenu](#/columnmenu), [Export](#/export), [View](#/view), [Pagination](#/pagination), [Virtualisation](#/virtualisation), [Benchmark](#/benchmark), [Server mode](#/server-mode) and [Edits](#/edits).
11951
+ Used on [Scenarios](#scenarios), [First table](#first-table), [Provider](#provider), [Column](#column), [Width and pinning](#width-and-pinning), [Sorting](#sorting), [Search](#search), [Filter](#filter), [Pre-filter](#pre-filter), [Grouping](#grouping-1), [Tree rows](#tree-rows), [Aggregate](#aggregate), [Selection](#selection), [Row appearance](#row-appearance), [RowDetail](#rowdetail), [RowActions](#rowactions), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [ColumnMenu](#columnmenu), [Export](#export), [View](#view), [Pagination](#pagination), [Virtualisation](#virtualisation), [Benchmark](#benchmark), [Server mode](#server-mode) and [Edits](#edits).
11958
11952
 
11959
11953
  #### Hooks
11960
11954
 
@@ -11975,7 +11969,7 @@ as `of` to a part that stands outside the table.
11975
11969
  function useTable<Z>(rows: readonly Z[], options: TableOptions<Z>): Table<Z>;
11976
11970
  ```
11977
11971
 
11978
- Used on [Scenarios](#/), [Installation](#/installation), [First table](#/first-table), [Provider](#/provider), [Column](#/column), [Formats](#/formats), [Width and pinning](#/width-and-pinning), [Presets](#/presets), [Sorting](#/sorting), [Search](#/search), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Aggregate](#/aggregate), [Selection](#/selection), [Row appearance](#/row-appearance), [RowDetail](#/rowdetail), [RowActions](#/rowactions), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [ColumnMenu](#/columnmenu), [Export](#/export), [View](#/view), [Pagination](#/pagination), [Virtualisation](#/virtualisation), [Benchmark](#/benchmark), [Server mode](#/server-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [VerdictColumn](#/verdictcolumn).
11972
+ Used on [Scenarios](#scenarios), [Installation](#installation), [First table](#first-table), [Provider](#provider), [Column](#column), [Formats](#formats), [Width and pinning](#width-and-pinning), [Presets](#presets), [Sorting](#sorting), [Search](#search), [Filter](#filter), [Pre-filter](#pre-filter), [Grouping](#grouping-1), [Tree rows](#tree-rows), [Aggregate](#aggregate), [Selection](#selection), [Row appearance](#row-appearance), [RowDetail](#rowdetail), [RowActions](#rowactions), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [ColumnMenu](#columnmenu), [Export](#export), [View](#view), [Pagination](#pagination), [Virtualisation](#virtualisation), [Benchmark](#benchmark), [Server mode](#server-mode), [Grid mode](#grid-mode), [Edits](#edits) and [VerdictColumn](#verdictcolumn).
11979
11973
 
11980
11974
  ##### `useTableSelection`
11981
11975
 
@@ -11987,7 +11981,7 @@ What the selection means in the domain stays the application's business.
11987
11981
  function useTableSelection<T extends string | number>(ids: readonly T[]): TableSelection<T>;
11988
11982
  ```
11989
11983
 
11990
- Used on [Selection](#/selection).
11984
+ Used on [Selection](#selection).
11991
11985
 
11992
11986
  #### Functions
11993
11987
 
@@ -12001,7 +11995,7 @@ one field in `P`, name the field as the second type argument.
12001
11995
  function column<P, K extends Field<P> = Field<P>>(preset: ColumnPreset<P, K>): ColumnPreset<P, K>;
12002
11996
  ```
12003
11997
 
12004
- Used on [Scenarios](#/), [First table](#/first-table), [Formats](#/formats), [Width and pinning](#/width-and-pinning), [Presets](#/presets), [Sorting](#/sorting), [Filter](#/filter), [Grouping](#/grouping), [Tree rows](#/tree-rows), [View](#/view), [Virtualisation](#/virtualisation), [Benchmark](#/benchmark), [Server mode](#/server-mode), [Grid mode](#/grid-mode) and [VerdictColumn](#/verdictcolumn).
11998
+ Used on [Scenarios](#scenarios), [First table](#first-table), [Formats](#formats), [Width and pinning](#width-and-pinning), [Presets](#presets), [Sorting](#sorting), [Filter](#filter), [Grouping](#grouping-1), [Tree rows](#tree-rows), [View](#view), [Virtualisation](#virtualisation), [Benchmark](#benchmark), [Server mode](#server-mode), [Grid mode](#grid-mode) and [VerdictColumn](#verdictcolumn).
12005
11999
 
12006
12000
  ##### `columnFilter`
12007
12001
 
@@ -12013,7 +12007,7 @@ otherwise. Create it outside the component, like a preset.
12013
12007
  function columnFilter<W, B>(definition: ColumnFilter<W, B>): ColumnFilter<W, B>;
12014
12008
  ```
12015
12009
 
12016
- Used on [Filter](#/filter).
12010
+ Used on [Filter](#filter).
12017
12011
 
12018
12012
  ##### `rowFilter`
12019
12013
 
@@ -12024,7 +12018,7 @@ outside the component, like a column filter, and name it in `rowFilters`.
12024
12018
  function rowFilter<Z, B>(definition: RowFilter<Z, B>): RowFilter<Z, B>;
12025
12019
  ```
12026
12020
 
12027
- Used on [Filter](#/filter) and [Toolbar controls](#/toolbar-controls).
12021
+ Used on [Filter](#filter) and [Toolbar controls](#toolbar-controls).
12028
12022
 
12029
12023
  #### Types
12030
12024
 
@@ -12036,11 +12030,11 @@ A value that is not there: `null` or `undefined`.
12036
12030
  type Absent = null | undefined;
12037
12031
  ```
12038
12032
 
12039
- Used on [Column](#/column).
12033
+ Used on [Column](#column).
12040
12034
 
12041
12035
  ##### `ActionProps`
12042
12036
 
12043
- Its table stands on [RowActions](#/rowactions/type-ActionProps).
12037
+ Its table stands on [RowActions](#rowactions).
12044
12038
 
12045
12039
  ##### `AggregateColumn<Z>`
12046
12040
 
@@ -12050,7 +12044,7 @@ A column that carries an aggregate, as the pipeline needs it.
12050
12044
  |---|---|---|---|
12051
12045
  | `id` *required* | `string` | — | |
12052
12046
  | `read` *required* | `(row: Z) => unknown` | — | |
12053
- | `aggregate` *required* | [`AggregateKind`](#type-AggregateKind)` \| `[`OwnAggregate`](#type-OwnAggregate)`<Z>` | — | |
12047
+ | `aggregate` *required* | `AggregateKind`` \| ``OwnAggregate``<Z>` | — | |
12054
12048
 
12055
12049
  ##### `AggregateFor<W, Z>`
12056
12050
 
@@ -12087,7 +12081,7 @@ type AggregateKind = "sum" | "avg" | "min" | "max" | "range" | "count" | "distin
12087
12081
 
12088
12082
  ##### `AggregateOptions`
12089
12083
 
12090
- Its table stands on [Aggregate](#/aggregate/type-AggregateOptions).
12084
+ Its table stands on [Aggregate](#aggregate).
12091
12085
 
12092
12086
  ##### `CellEdit<Z>`
12093
12087
 
@@ -12095,12 +12089,12 @@ An edit the user committed - reported, not applied.
12095
12089
 
12096
12090
  | Prop | Type | Default | Description |
12097
12091
  |---|---|---|---|
12098
- | `rowKey` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 1 more |
12099
- | `columnId` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Check an edit before it is reported (Edits)](#/edits/validated-edits), [Plan the team's capacity (Scenarios)](#/scenarios/plan-the-team-capacity) |
12100
- | `value` *required* | `unknown` | — | The editor's value: text for `"text"`, a number or null for `"number"`, a day or null for `"date"`, an option for `"select"`.<br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 1 more |
12101
- | `row` *required* | `Z` | — | <br>Shown in: [Check an edit before it is reported (Edits)](#/edits/validated-edits), [Plan the team's capacity (Scenarios)](#/scenarios/plan-the-team-capacity) |
12092
+ | `rowKey` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits), [Check an edit before it is reported (Edits)](#edits) and 1 more |
12093
+ | `columnId` *required* | `string` | — | <br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Check an edit before it is reported (Edits)](#edits), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
12094
+ | `value` *required* | `unknown` | — | The editor's value: text for `"text"`, a number or null for `"number"`, a day or null for `"date"`, an option for `"select"`.<br>Shown in: [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits), [Check an edit before it is reported (Edits)](#edits) and 1 more |
12095
+ | `row` *required* | `Z` | — | <br>Shown in: [Check an edit before it is reported (Edits)](#edits), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
12102
12096
 
12103
- Used on [Edits](#/edits).
12097
+ Used on [Edits](#edits).
12104
12098
 
12105
12099
  ##### `CellEditorProps<W, Z>`
12106
12100
 
@@ -12123,7 +12117,7 @@ Escape and Tab stay the table's, bubbling up from the field.
12123
12117
 
12124
12118
  ##### `ColumnBase`
12125
12119
 
12126
- Its table stands on [Column](#/column/type-ColumnBase).
12120
+ Its table stands on [Column](#column).
12127
12121
 
12128
12122
  ##### `ColumnComponent<Z>`
12129
12123
 
@@ -12134,13 +12128,9 @@ value.
12134
12128
 
12135
12129
  ```ts
12136
12130
  interface ColumnComponent<Z> {
12137
- <W extends number | Absent>(
12138
- props: Computed<Z, W> & { footer: "sum" | "avg"; aggregate?: never; format?: NumberFormat; children?: Presentation<W, Z>; share?: boolean },
12139
- ): ReactNode;
12140
12131
  <W extends number | Absent>(
12141
12132
  props: Computed<Z, W> & {
12142
12133
  aggregate: "sum" | "avg" | "min" | "max" | "count" | "distinct";
12143
- footer?: never;
12144
12134
  share?: boolean;
12145
12135
  format?: NumberFormat;
12146
12136
  children?: Presentation<W, Z>;
@@ -12149,7 +12139,6 @@ interface ColumnComponent<Z> {
12149
12139
  <W extends Date | Absent>(
12150
12140
  props: Computed<Z, W> & {
12151
12141
  aggregate: "min" | "max" | "range" | "count" | "distinct";
12152
- footer?: never;
12153
12142
  format?: DateFormat;
12154
12143
  group?: DatePeriod;
12155
12144
  children?: Presentation<W, Z>;
@@ -12159,7 +12148,6 @@ interface ColumnComponent<Z> {
12159
12148
  props: Computed<Z, W> & {
12160
12149
  group: DatePeriod;
12161
12150
  aggregate?: "min" | "max" | "range" | "count" | "distinct";
12162
- footer?: never;
12163
12151
  format?: DateFormat;
12164
12152
  children?: Presentation<W, Z>;
12165
12153
  },
@@ -12172,14 +12160,13 @@ interface ColumnComponent<Z> {
12172
12160
  ): ReactNode;
12173
12161
  <W>(
12174
12162
  props: Computed<Z, W> & {
12175
- footer?: never;
12176
12163
  format?: never;
12177
12164
  aggregate?: AggregateFunction<W, Z>;
12178
12165
  children: Presentation<W, Z>;
12179
12166
  },
12180
12167
  ): ReactNode;
12181
12168
  <W extends Displayable | Absent>(
12182
- props: Computed<Z, W> & { footer?: never; format?: never; aggregate?: "count" | "distinct" | AggregateFunction<W, Z>; children?: never },
12169
+ props: Computed<Z, W> & { format?: never; aggregate?: "count" | "distinct" | AggregateFunction<W, Z>; children?: never },
12183
12170
  ): ReactNode;
12184
12171
  <K extends Field<Z>>(props: FieldColumn<Z, K>): ReactNode;
12185
12172
  }
@@ -12187,11 +12174,11 @@ interface ColumnComponent<Z> {
12187
12174
 
12188
12175
  ##### `ColumnFilter`
12189
12176
 
12190
- Its table stands on [Filter](#/filter/type-ColumnFilter).
12177
+ Its table stands on [Filter](#filter).
12191
12178
 
12192
12179
  ##### `ColumnMenuProps`
12193
12180
 
12194
- Its table stands on [ColumnMenu](#/columnmenu/type-ColumnMenuProps).
12181
+ Its table stands on [ColumnMenu](#columnmenu).
12195
12182
 
12196
12183
  ##### `ColumnPreset<P, K extends Field<P> = Field<P>>`
12197
12184
 
@@ -12276,13 +12263,13 @@ The props a column carries for editing in grid mode (`<Table grid>`).
12276
12263
 
12277
12264
  | Prop | Type | Default | Description |
12278
12265
  |---|---|---|---|
12279
- | `edit` | [`EditFor`](#type-EditFor)`<W, Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Edit a comments column (Edits)](#/edits/comments-column) and 6 more |
12280
- | `editOptions` | `readonly `[`Present`](#type-Present)`<W>[]` | the values that occur | What `edit="select"` offers.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Check an edit before it is reported (Edits)](#/edits/validated-edits), [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose) and 1 more |
12281
- | `validate` | `(value: W \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through.<br>Shown in: [Share a column between tables (Presets)](#/presets/presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid), [Check an edit before it is reported (Edits)](#/edits/validated-edits) and 3 more |
12266
+ | `edit` | `EditFor``<W, Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits) and 6 more |
12267
+ | `editOptions` | `readonly ``Present``<W>[]` | the values that occur | What `edit="select"` offers.<br>Shown in: [Share a column between tables (Presets)](#presets), [Check an edit before it is reported (Edits)](#edits), [Save a row on purpose (Edits)](#edits) and 1 more |
12268
+ | `validate` | `(value: W \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through.<br>Shown in: [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Check an edit before it is reported (Edits)](#edits) and 3 more |
12282
12269
 
12283
12270
  ##### `ExportProps`
12284
12271
 
12285
- Its table stands on [Export](#/export/type-ExportProps).
12272
+ Its table stands on [Export](#export).
12286
12273
 
12287
12274
  ##### `Field<Z>`
12288
12275
 
@@ -12294,7 +12281,7 @@ type Field<Z> = Extract<keyof Z, string>;
12294
12281
 
12295
12282
  ##### `FieldColumn`
12296
12283
 
12297
- Its table stands on [Column](#/column/type-FieldColumn).
12284
+ Its table stands on [Column](#column).
12298
12285
 
12299
12286
  ##### `FieldCondition<W>`
12300
12287
 
@@ -12323,7 +12310,7 @@ type FilterFor<W> =
12323
12310
 
12324
12311
  ##### `FilterInputProps`
12325
12312
 
12326
- Its table stands on [Filter](#/filter/type-FilterInputProps).
12313
+ Its table stands on [Filter](#filter).
12327
12314
 
12328
12315
  ##### `FormatFor<W>`
12329
12316
 
@@ -12340,7 +12327,7 @@ type FormatFor<W> = [Present<W>] extends [number]
12340
12327
 
12341
12328
  ##### `GroupByBase`
12342
12329
 
12343
- Its table stands on [Grouping](#/grouping/type-GroupByBase).
12330
+ Its table stands on [Grouping](#grouping-1).
12344
12331
 
12345
12332
  ##### `GroupByComponent<Z>`
12346
12333
 
@@ -12463,11 +12450,11 @@ An aggregate of one's own: the values present and the group's rows.
12463
12450
  type OwnAggregate<Z = never> = (values: readonly unknown[], rows: readonly Z[]) => unknown;
12464
12451
  ```
12465
12452
 
12466
- Used on [Aggregate](#/aggregate).
12453
+ Used on [Aggregate](#aggregate).
12467
12454
 
12468
12455
  ##### `PaginationProps`
12469
12456
 
12470
- Its table stands on [Pagination](#/pagination/type-PaginationProps).
12457
+ Its table stands on [Pagination](#pagination).
12471
12458
 
12472
12459
  ##### `Pin`
12473
12460
 
@@ -12493,7 +12480,7 @@ What a column draws in a cell: the value present and its row.
12493
12480
  type Presentation<W, Z> = (value: Present<W>, row: Z) => ReactNode;
12494
12481
  ```
12495
12482
 
12496
- Used on [Formats](#/formats).
12483
+ Used on [Formats](#formats).
12497
12484
 
12498
12485
  ##### `RangeCondition<W>`
12499
12486
 
@@ -12506,7 +12493,7 @@ The condition of a range filter: both bounds inclusive, each may be absent.
12506
12493
 
12507
12494
  ##### `RowActionsProps`
12508
12495
 
12509
- Its table stands on [RowActions](#/rowactions/type-RowActionsProps).
12496
+ Its table stands on [RowActions](#rowactions).
12510
12497
 
12511
12498
  ##### `RowAdd`
12512
12499
 
@@ -12514,7 +12501,7 @@ A new row the user saved: every column that edits, by column id.
12514
12501
 
12515
12502
  | Prop | Type | Default | Description |
12516
12503
  |---|---|---|---|
12517
- | `values` *required* | `Readonly<Record<string, unknown>>` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) |
12504
+ | `values` *required* | `Readonly<Record<string, unknown>>` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits) |
12518
12505
 
12519
12506
  ##### `RowAttributes`
12520
12507
 
@@ -12532,16 +12519,16 @@ A row the user asked to delete, and confirmed.
12532
12519
 
12533
12520
  | Prop | Type | Default | Description |
12534
12521
  |---|---|---|---|
12535
- | `rowKey` *required* | `string` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list), [Edit a dense table (Edits)](#/edits/edit-a-dense-table) |
12522
+ | `rowKey` *required* | `string` | — | <br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits), [Edit a dense table (Edits)](#edits) |
12536
12523
  | `row` *required* | `Z` | — | |
12537
12524
 
12538
12525
  ##### `RowDetailProps`
12539
12526
 
12540
- Its table stands on [RowDetail](#/rowdetail/type-RowDetailProps).
12527
+ Its table stands on [RowDetail](#rowdetail).
12541
12528
 
12542
12529
  ##### `RowFilter`
12543
12530
 
12544
- Its table stands on [Filter](#/filter/type-RowFilter).
12531
+ Its table stands on [Filter](#filter).
12545
12532
 
12546
12533
  ##### `RowGroup<Z>`
12547
12534
 
@@ -12553,7 +12540,7 @@ The rows of the filtered set that share one grouping value on one level.
12553
12540
  | `value` *required* | `unknown` | — | The grouping value; `undefined` for the group of absent values. |
12554
12541
  | `level` *required* | `number` | — | 0 is the outermost level. |
12555
12542
  | `rows` *required* | `Z[]` | — | |
12556
- | `groups` *required* | [`RowGroup`](#type-RowGroup)`<Z>[]` | — | The groups of the next level; empty on the innermost. |
12543
+ | `groups` *required* | `RowGroup``<Z>[]` | — | The groups of the next level; empty on the innermost. |
12557
12544
  | `aggregates` *required* | `Record<string, unknown>` | — | Per column id, what its aggregate comes to over this group's rows. |
12558
12545
 
12559
12546
  ##### `RowSave<Z>`
@@ -12562,15 +12549,15 @@ A Row draft the user saved ([ADR-0036](https://github.com/romanhaendler/umriss-u
12562
12549
 
12563
12550
  | Prop | Type | Default | Description |
12564
12551
  |---|---|---|---|
12565
- | `rowKey` *required* | `string` | — | <br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose), [Check a whole row before it is saved (Edits)](#/edits/check-a-whole-row), [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) and 1 more |
12566
- | `changes` *required* | `Readonly<Record<string, unknown>>` | — | The columns the draft changed, by column id, with their editors' values.<br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose), [Check a whole row before it is saved (Edits)](#/edits/check-a-whole-row), [Keep a list: add, change and delete rows (Edits)](#/edits/keep-a-list) and 1 more |
12567
- | `row` *required* | `Z` | — | <br>Shown in: [Save a row on purpose (Edits)](#/edits/save-a-row-on-purpose) |
12552
+ | `rowKey` *required* | `string` | — | <br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
12553
+ | `changes` *required* | `Readonly<Record<string, unknown>>` | — | The columns the draft changed, by column id, with their editors' values.<br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
12554
+ | `row` *required* | `Z` | — | <br>Shown in: [Save a row on purpose (Edits)](#edits) |
12568
12555
 
12569
- Used on [Edits](#/edits).
12556
+ Used on [Edits](#edits).
12570
12557
 
12571
12558
  ##### `SearchProps`
12572
12559
 
12573
- Its table stands on [Search](#/search/type-SearchProps).
12560
+ Its table stands on [Search](#search).
12574
12561
 
12575
12562
  ##### `SetFilter<Z>`
12576
12563
 
@@ -12604,8 +12591,8 @@ only what the first leaves open.
12604
12591
 
12605
12592
  | Prop | Type | Default | Description |
12606
12593
  |---|---|---|---|
12607
- | `column` *required* | `K` | — | <br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own), [A label wider than its column (Width and pinning)](#/width-and-pinning/a-label-wider-than-its-column), [Sort by several columns (Sorting)](#/sorting/sort-by-several-columns) and 10 more |
12608
- | `direction` *required* | [`SortDirection`](#type-SortDirection)<br>`"asc" \| "desc"` | — | <br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own), [A label wider than its column (Width and pinning)](#/width-and-pinning/a-label-wider-than-its-column), [Sort by several columns (Sorting)](#/sorting/sort-by-several-columns) and 10 more |
12594
+ | `column` *required* | `K` | — | <br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table), [A label wider than its column (Width and pinning)](#width-and-pinning), [Sort by several columns (Sorting)](#sorting) and 10 more |
12595
+ | `direction` *required* | `SortDirection`<br>`"asc" \| "desc"` | — | <br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table), [A label wider than its column (Width and pinning)](#width-and-pinning), [Sort by several columns (Sorting)](#sorting) and 10 more |
12609
12596
 
12610
12597
  ##### `Table<Z>`
12611
12598
 
@@ -12614,58 +12601,58 @@ row. Pass it as `of` to a part that stands outside the table.
12614
12601
 
12615
12602
  | Prop | Type | Default | Description |
12616
12603
  |---|---|---|---|
12617
- | `Table` *required* | `(props: `[`TableProps`](#/first-table/type-TableProps)`<Z>) => ReactNode` | — | <br>Shown in: [A first table (Installation)](#/installation/first-table), [Show a list of services (First table)](#/first-table/first-table), [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) and 118 more |
12618
- | `Column` *required* | [`ColumnComponent`](#type-ColumnComponent)`<Z>` | — | <br>Shown in: [A first table (Installation)](#/installation/first-table), [Show a list of services (First table)](#/first-table/first-table), [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) and 118 more |
12619
- | `VerdictColumn` *required* | [`VerdictColumnComponent`](#type-VerdictColumnComponent)`<Z>` | — | <br>Shown in: [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Read a day's deliveries by depot (Grouping)](#/grouping/the-dispatch-report), [Carry the worst verdict up (Aggregate)](#/aggregate/worst-verdict) and 5 more |
12620
- | `RowDetail` *required* | `(props: `[`RowDetailProps`](#/rowdetail/type-RowDetailProps)`<Z>) => ReactNode` | — | <br>Shown in: [Keep the header and the names in view (Width and pinning)](#/width-and-pinning/sticky-parts), [Employees in the detail (Tree rows)](#/tree-rows/employees-in-the-detail), [Own staff and teams (Tree rows)](#/tree-rows/own-staff-and-teams) and 5 more |
12621
- | `RowActions` *required* | `(props: `[`RowActionsProps`](#/rowactions/type-RowActionsProps)`) => ReactNode` | — | <br>Shown in: [Name the row (Column)](#/column/row-header), [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Select a whole group (Grouping)](#/grouping/a-whole-group-selected) and 7 more |
12622
- | `Action` *required* | `(props: `[`ActionProps`](#/rowactions/type-ActionProps)`<Z>) => ReactNode` | — | <br>Shown in: [Name the row (Column)](#/column/row-header), [Pin columns to both sides (Width and pinning)](#/width-and-pinning/pinned-both-sides), [Select a whole group (Grouping)](#/grouping/a-whole-group-selected) and 7 more |
12623
- | `GroupBy` *required* | [`GroupByComponent`](#type-GroupByComponent)`<Z>` | — | <br>Shown in: [Group by a value that is no column (Grouping)](#/grouping/a-key-that-is-no-column), [Group twenty thousand rows (Grouping)](#/grouping/twenty-thousand-rows), [Read a day's deliveries by depot (Grouping)](#/grouping/the-dispatch-report) |
12624
- | `rows` *required* | `readonly Z[]` | — | All the rows passed in, including those the pre-filter does not admit. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12625
- | `filtered` *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages. From `TableSnapshot`.<br>Shown in: [Select rows (Selection)](#/selection/selection), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation) |
12626
- | `visible` *required* | `readonly Z[]` | — | What is rendered right now: the page or the window. From `TableSnapshot`.<br>Shown in: [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation) |
12627
- | `page` *required* | `number` | — | The page shown, from 1. Without `Pagination` always 1. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12628
- | `pageCount` *required* | `number` | — | How many pages the filtered set makes. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12629
- | `pageSize` *required* | `number` | — | Rows per page. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12630
- | `setPage` *required* | `(page: number) => void` | — | Changes the page, clamped to those that exist. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12631
- | `setPageSize` *required* | `(size: number) => void` | — | Sets the rows per page; back to page one. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12632
- | `search` *required* | `string` | — | The search text. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12633
- | `setSearch` *required* | `(search: string) => void` | — | Sets the search text; back to page one. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12634
- | `sort` *required* | `readonly `[`SortLevel`](#type-SortLevel)`[]` | — | The sort levels, the first one first – only over columns that registered. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12635
- | `toggleSort` *required* | `(column: string, additive?: boolean) => void` | — | Sorts by a column. With `additive` a level is added instead of replacing the sort. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12636
- | `hidden` *required* | `readonly string[]` | — | The ids of the hidden columns. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12637
- | `toggleColumn` *required* | `(column: string) => void` | — | Hides a column or shows it again. The row header stays. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12638
- | `order` *required* | `readonly string[]` | — | The order of the columns as ids, as the user chose it. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12639
- | `setOrder` *required* | `(order: readonly string[]) => void` | — | Reorders the columns – on header, body and footer at once. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12640
- | `pinned` *required* | `Readonly<Record<string, `[`Pin`](#type-Pin)`>>` | — | The pinned columns by id - the declared ones until the user chooses. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
12641
- | `setPin` *required* | `(column: string, pin: `[`Pin`](#type-Pin)` \| null) => void` | — | Pins a column to the start or the end, or unpins it with `null`. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
12642
- | `widths` *required* | `Readonly<Record<string, number>>` | — | The widths in pixels: those of the columns, and over them the dragged ones. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
12643
- | `setWidth` *required* | `(column: string, width: number \| undefined) => void` | — | Sets the width of a column; `undefined` takes it back. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#/width-and-pinning/pin-and-size-from-controls-of-your-own) |
12644
- | `expanded` *required* | `readonly string[]` | — | The keys of the expanded rows. From `TableSnapshot`.<br>Shown in: [Open a detail from outside the table (RowDetail)](#/rowdetail/open-a-detail-from-outside) |
12645
- | `toggleRow` *required* | `(key: string) => void` | — | Expands a row or collapses it. From `TableSnapshot`.<br>Shown in: [Open a detail from outside the table (RowDetail)](#/rowdetail/open-a-detail-from-outside) |
12646
- | `filter` *required* | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters and row filters by id, in the order in which they were set. Whatever fits no column and no row filter is absent. From `TableSnapshot`.<br>Shown in: [Set a condition from outside the table (Filter)](#/filter/conditions-from-outside) |
12647
- | `setFilter` *required* | [`SetFilter`](#type-SetFilter)`<Z>` | — | Sets the condition of a column filter or a row filter; `null` clears it. Back to page one. A condition that does not fit the kind of the filter – a range on a list filter, a column without a filter, a row filter not in `rowFilters` – is passed over with a warning in development. From `TableSnapshot`.<br>Shown in: [Set a condition from outside the table (Filter)](#/filter/conditions-from-outside), [Filter by a field no column shows (Filter)](#/filter/a-field-no-column-shows), [Rows from a request (Filter)](#/filter/rows-from-a-request) and 5 more |
12648
- | `conditionOf` *required* | `<B>(filter: `[`RowFilter`](#/filter/type-RowFilter)`<Z, B>) => B \| null` | — | The condition of a row filter, as its type - `null` while it is lifted. From `TableSnapshot`.<br>Shown in: [Filter by a field no column shows (Filter)](#/filter/a-field-no-column-shows), [Rows from a request (Filter)](#/filter/rows-from-a-request), [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields) and 3 more |
12649
- | `selection` *required* | [`TableSelection`](#type-TableSelection)`<string>` | — | The selection – its own or the one handed in through `selection`. From `TableSnapshot`.<br>Shown in: [Select rows (Selection)](#/selection/selection), [Copy the selection (Export)](#/export/copy-the-selection), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation) and 3 more |
12650
- | `grouping` *required* | `readonly string[]` | — | The ids the table is grouped by, the outermost first – only those a groupable column or a group key carries, at most three. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
12651
- | `setGrouping` *required* | `(grouping: readonly string[]) => void` | — | Groups by these columns or group keys; `[]` ungroups. Back to page one. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
12652
- | `setView` *required* | `(view: `[`TableView`](#type-TableView)`) => void` | — | Goes to a whole view; what it leaves out goes back to where the table starts, and names no column carries fall out. Not reported through `onViewChange`: two tables kept in step by `onViewChange: (v) => other.setView(v)` in both directions do not answer each other. A view with the content already shown changes nothing. From `TableSnapshot`.<br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
12653
- | `folded` *required* | `readonly string[]` | — | The paths of the folded groups that still occur. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
12654
- | `toggleFold` *required* | `(path: string) => void` | — | Folds a group or unfolds it. A group of one row does not fold. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#/grouping/group-and-fold-from-controls-of-your-own) |
12655
- | `foldAll` *required* | `() => void` | — | Folds every group that has more than one row. From `TableSnapshot`.<br>Shown in: [Fold groups into a summary (Grouping)](#/grouping/the-overview) |
12656
- | `unfoldAll` *required* | `() => void` | — | Unfolds every group. From `TableSnapshot`.<br>Shown in: [Fold groups into a summary (Grouping)](#/grouping/the-overview) |
12657
- | `branches` *required* | `readonly string[]` | — | Tree rows: the keys of the open branches. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
12658
- | `toggleBranch` *required* | `(key: string) => void` | — | Tree rows: opens a branch or closes it. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
12659
- | `unfoldAllBranches` *required* | `() => void` | — | Tree rows: opens every branch that has children. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
12660
- | `foldAllBranches` *required* | `() => void` | — | Tree rows: closes every branch. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#/tree-rows/open-branches-from-controls-of-your-own) |
12661
- | `view` *required* | [`TableView`](#type-TableView) | — | The part of the state an application can keep; whatever still stands as the options set it up is absent. From `TableSnapshot`.<br>Shown in: [Set a condition from outside the table (Filter)](#/filter/conditions-from-outside), [Fold groups into a summary (Grouping)](#/grouping/the-overview), [Keep and restore a view (View)](#/view/initial-view) |
12662
- | `asCsv` *required* | `() => string` | — | The filtered set in the visible columns as text for a spreadsheet - in server mode the page. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12663
- | `selectionAsText` *required* | `() => string` | — | The selected rows within the filtered set as tab-separated text under a header line - the text Ctrl+C writes. `""` with nothing selected. From `TableSnapshot`.<br>Shown in: [Copy the selection (Export)](#/export/copy-the-selection) |
12664
- | `virtual` *required* | `boolean` | — | Whether it virtualises. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12665
- | `rowCount` *required* | `number` | — | How many rows the filtered set has - in server mode the server's count. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#/first-table/search-and-page-from-a-header-of-your-own) |
12666
- | `server` *required* | `boolean` | — | Whether it is in server mode: the rows are one page of a server's. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#/first-table/sort-arrange-and-export-from-controls-of-your-own) |
12667
-
12668
- Used on [Scenarios](#/), [Installation](#/installation), [First table](#/first-table), [Provider](#/provider), [Column](#/column), [Formats](#/formats), [Width and pinning](#/width-and-pinning), [Presets](#/presets), [Sorting](#/sorting), [Search](#/search), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Aggregate](#/aggregate), [Selection](#/selection), [Row appearance](#/row-appearance), [RowDetail](#/rowdetail), [RowActions](#/rowactions), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [ColumnMenu](#/columnmenu), [Export](#/export), [View](#/view), [Pagination](#/pagination), [Virtualisation](#/virtualisation), [Benchmark](#/benchmark), [Server mode](#/server-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [VerdictColumn](#/verdictcolumn).
12604
+ | `Table` *required* | `(props: `[`TableProps`](#first-table)`<Z>) => ReactNode` | — | <br>Shown in: [A first table (Installation)](#installation), [Show a list of services (First table)](#first-table), [Search and page from a header of your own (First table)](#first-table) and 119 more |
12605
+ | `Column` *required* | `ColumnComponent``<Z>` | — | <br>Shown in: [A first table (Installation)](#installation), [Show a list of services (First table)](#first-table), [Search and page from a header of your own (First table)](#first-table) and 119 more |
12606
+ | `VerdictColumn` *required* | `VerdictColumnComponent``<Z>` | — | <br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Read a day's deliveries by depot (Grouping)](#grouping-1), [Carry the worst verdict up (Aggregate)](#aggregate) and 5 more |
12607
+ | `RowDetail` *required* | `(props: `[`RowDetailProps`](#rowdetail)`<Z>) => ReactNode` | — | <br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Employees in the detail (Tree rows)](#tree-rows), [Own staff and teams (Tree rows)](#tree-rows) and 5 more |
12608
+ | `RowActions` *required* | `(props: `[`RowActionsProps`](#rowactions)`) => ReactNode` | — | <br>Shown in: [Name the row (Column)](#column), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Select a whole group (Grouping)](#grouping-1) and 7 more |
12609
+ | `Action` *required* | `(props: `[`ActionProps`](#rowactions)`<Z>) => ReactNode` | — | <br>Shown in: [Name the row (Column)](#column), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Select a whole group (Grouping)](#grouping-1) and 7 more |
12610
+ | `GroupBy` *required* | `GroupByComponent``<Z>` | — | <br>Shown in: [Group by a value that is no column (Grouping)](#grouping-1), [Group twenty thousand rows (Grouping)](#grouping-1), [Read a day's deliveries by depot (Grouping)](#grouping-1) |
12611
+ | `rows` *required* | `readonly Z[]` | — | All the rows passed in, including those the pre-filter does not admit. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12612
+ | `filtered` *required* | `readonly Z[]` | — | The filtered set: what the pre-filter admits and search and filters leave, across all pages. From `TableSnapshot`.<br>Shown in: [Select rows (Selection)](#selection), [Scroll twenty thousand rows (Virtualisation)](#virtualisation) |
12613
+ | `visible` *required* | `readonly Z[]` | — | What is rendered right now: the page or the window. From `TableSnapshot`.<br>Shown in: [Scroll twenty thousand rows (Virtualisation)](#virtualisation) |
12614
+ | `page` *required* | `number` | — | The page shown, from 1. Without `Pagination` always 1. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12615
+ | `pageCount` *required* | `number` | — | How many pages the filtered set makes. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12616
+ | `pageSize` *required* | `number` | — | Rows per page. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12617
+ | `setPage` *required* | `(page: number) => void` | — | Changes the page, clamped to those that exist. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12618
+ | `setPageSize` *required* | `(size: number) => void` | — | Sets the rows per page; back to page one. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12619
+ | `search` *required* | `string` | — | The search text. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12620
+ | `setSearch` *required* | `(search: string) => void` | — | Sets the search text; back to page one. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12621
+ | `sort` *required* | `readonly ``SortLevel``[]` | — | The sort levels, the first one first – only over columns that registered. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12622
+ | `toggleSort` *required* | `(column: string, additive?: boolean) => void` | — | Sorts by a column. With `additive` a level is added instead of replacing the sort. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12623
+ | `hidden` *required* | `readonly string[]` | — | The ids of the hidden columns. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12624
+ | `toggleColumn` *required* | `(column: string) => void` | — | Hides a column or shows it again. The row header stays. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12625
+ | `order` *required* | `readonly string[]` | — | The order of the columns as ids, as the user chose it. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12626
+ | `setOrder` *required* | `(order: readonly string[]) => void` | — | Reorders the columns – on header, body and footer at once. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12627
+ | `pinned` *required* | `Readonly<Record<string, ``Pin``>>` | — | The pinned columns by id - the declared ones until the user chooses. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
12628
+ | `setPin` *required* | `(column: string, pin: ``Pin`` \| null) => void` | — | Pins a column to the start or the end, or unpins it with `null`. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
12629
+ | `widths` *required* | `Readonly<Record<string, number>>` | — | The widths in pixels: those of the columns, and over them the dragged ones. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
12630
+ | `setWidth` *required* | `(column: string, width: number \| undefined) => void` | — | Sets the width of a column; `undefined` takes it back. From `TableSnapshot`.<br>Shown in: [Pin and size from controls of your own (Width and pinning)](#width-and-pinning) |
12631
+ | `expanded` *required* | `readonly string[]` | — | The keys of the expanded rows. From `TableSnapshot`.<br>Shown in: [Open a detail from outside the table (RowDetail)](#rowdetail) |
12632
+ | `toggleRow` *required* | `(key: string) => void` | — | Expands a row or collapses it. From `TableSnapshot`.<br>Shown in: [Open a detail from outside the table (RowDetail)](#rowdetail) |
12633
+ | `filter` *required* | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters and row filters by id, in the order in which they were set. Whatever fits no column and no row filter is absent. From `TableSnapshot`.<br>Shown in: [Set a condition from outside the table (Filter)](#filter) |
12634
+ | `setFilter` *required* | `SetFilter``<Z>` | — | Sets the condition of a column filter or a row filter; `null` clears it. Back to page one. A condition that does not fit the kind of the filter – a range on a list filter, a column without a filter, a row filter not in `rowFilters` – is passed over with a warning in development. From `TableSnapshot`.<br>Shown in: [Set a condition from outside the table (Filter)](#filter), [Filter by a field no column shows (Filter)](#filter), [Rows from a request (Filter)](#filter) and 5 more |
12635
+ | `conditionOf` *required* | `<B>(filter: `[`RowFilter`](#filter)`<Z, B>) => B \| null` | — | The condition of a row filter, as its type - `null` while it is lifted. From `TableSnapshot`.<br>Shown in: [Filter by a field no column shows (Filter)](#filter), [Rows from a request (Filter)](#filter), [Ask a question over several fields (Filter)](#filter) and 3 more |
12636
+ | `selection` *required* | `TableSelection``<string>` | — | The selection – its own or the one handed in through `selection`. From `TableSnapshot`.<br>Shown in: [Select rows (Selection)](#selection), [Copy the selection (Export)](#export), [Scroll twenty thousand rows (Virtualisation)](#virtualisation) and 3 more |
12637
+ | `grouping` *required* | `readonly string[]` | — | The ids the table is grouped by, the outermost first – only those a groupable column or a group key carries, at most three. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
12638
+ | `setGrouping` *required* | `(grouping: readonly string[]) => void` | — | Groups by these columns or group keys; `[]` ungroups. Back to page one. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
12639
+ | `setView` *required* | `(view: ``TableView``) => void` | — | Goes to a whole view; what it leaves out goes back to where the table starts, and names no column carries fall out. Not reported through `onViewChange`: two tables kept in step by `onViewChange: (v) => other.setView(v)` in both directions do not answer each other. A view with the content already shown changes nothing. From `TableSnapshot`.<br>Shown in: [Keep and restore a view (View)](#view) |
12640
+ | `folded` *required* | `readonly string[]` | — | The paths of the folded groups that still occur. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
12641
+ | `toggleFold` *required* | `(path: string) => void` | — | Folds a group or unfolds it. A group of one row does not fold. From `TableSnapshot`.<br>Shown in: [Group and fold from controls of your own (Grouping)](#grouping-1) |
12642
+ | `foldAll` *required* | `() => void` | — | Folds every group that has more than one row. From `TableSnapshot`.<br>Shown in: [Fold groups into a summary (Grouping)](#grouping-1) |
12643
+ | `unfoldAll` *required* | `() => void` | — | Unfolds every group. From `TableSnapshot`.<br>Shown in: [Fold groups into a summary (Grouping)](#grouping-1) |
12644
+ | `branches` *required* | `readonly string[]` | — | Tree rows: the keys of the open branches. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
12645
+ | `toggleBranch` *required* | `(key: string) => void` | — | Tree rows: opens a branch or closes it. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
12646
+ | `unfoldAllBranches` *required* | `() => void` | — | Tree rows: opens every branch that has children. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
12647
+ | `foldAllBranches` *required* | `() => void` | — | Tree rows: closes every branch. From `TableSnapshot`.<br>Shown in: [Open branches from controls of your own (Tree rows)](#tree-rows) |
12648
+ | `view` *required* | `TableView` | — | The part of the state an application can keep; whatever still stands as the options set it up is absent. From `TableSnapshot`.<br>Shown in: [Set a condition from outside the table (Filter)](#filter), [Fold groups into a summary (Grouping)](#grouping-1), [Keep and restore a view (View)](#view) |
12649
+ | `asCsv` *required* | `() => string` | — | The filtered set in the visible columns as text for a spreadsheet - in server mode the page. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12650
+ | `selectionAsText` *required* | `() => string` | — | The selected rows within the filtered set as tab-separated text under a header line - the text Ctrl+C writes. `""` with nothing selected. From `TableSnapshot`.<br>Shown in: [Copy the selection (Export)](#export) |
12651
+ | `virtual` *required* | `boolean` | — | Whether it virtualises. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12652
+ | `rowCount` *required* | `number` | — | How many rows the filtered set has - in server mode the server's count. From `TableSnapshot`.<br>Shown in: [Search and page from a header of your own (First table)](#first-table) |
12653
+ | `server` *required* | `boolean` | — | Whether it is in server mode: the rows are one page of a server's. From `TableSnapshot`.<br>Shown in: [Sort, arrange and export from controls of your own (First table)](#first-table) |
12654
+
12655
+ Used on [Scenarios](#scenarios), [Installation](#installation), [First table](#first-table), [Provider](#provider), [Column](#column), [Formats](#formats), [Width and pinning](#width-and-pinning), [Presets](#presets), [Sorting](#sorting), [Search](#search), [Filter](#filter), [Pre-filter](#pre-filter), [Grouping](#grouping-1), [Tree rows](#tree-rows), [Aggregate](#aggregate), [Selection](#selection), [Row appearance](#row-appearance), [RowDetail](#rowdetail), [RowActions](#rowactions), [Toolbar](#toolbar), [Toolbar controls](#toolbar-controls), [ColumnMenu](#columnmenu), [Export](#export), [View](#view), [Pagination](#pagination), [Virtualisation](#virtualisation), [Benchmark](#benchmark), [Server mode](#server-mode), [Grid mode](#grid-mode), [Edits](#edits) and [VerdictColumn](#verdictcolumn).
12669
12656
 
12670
12657
  ##### `TableInput<Z = unknown, K extends string = string>`
12671
12658
 
@@ -12676,22 +12663,22 @@ columns: search, filter, sort, page, hidden columns, order, grouping, tree.
12676
12663
  |---|---|---|---|
12677
12664
  | `search` | `string` | — | |
12678
12665
  | `filter` | `(row: Z) => boolean` | — | An additional filter beside the free-text search, e.g. a status choice. |
12679
- | `sort` | [`SortLevel`](#type-SortLevel)`<K> \| readonly `[`SortLevel`](#type-SortLevel)`<K>[] \| null` | — | One level or several. A single level means the same as a list holding only it. |
12666
+ | `sort` | `SortLevel``<K> \| readonly ``SortLevel``<K>[] \| null` | — | One level or several. A single level means the same as a list holding only it. |
12680
12667
  | `page` | `number` | — | 1-based; is clamped to the valid range. |
12681
12668
  | `pageSize` | `number` | — | |
12682
12669
  | `hidden` | `readonly K[]` | — | Ids of columns switched away. Columns that are not hideable stay. |
12683
12670
  | `order` | `readonly K[]` | — | The wanted column order. Columns not named follow in their natural order; unknown ids are passed over. |
12684
- | `grouping` | `{ levels: readonly `[`GroupLevel`](#type-GroupLevel)`<Z>[]; aggregates?: readonly `[`AggregateColumn`](#type-AggregateColumn)`<Z>[]; folded: ReadonlySet<string>; /** The collation of text keys; the provider's, where there is one. */ compareText?: (a: string, b: string) => number; }` | — | Groups the sorted filtered set; a page then counts lines, not rows. |
12671
+ | `grouping` | `{ levels: readonly ``GroupLevel``<Z>[]; aggregates?: readonly ``AggregateColumn``<Z>[]; folded: ReadonlySet<string>; /** The collation of text keys; the provider's, where there is one. */ compareText?: (a: string, b: string) => number; }` | — | Groups the sorted filtered set; a page then counts lines, not rows. |
12685
12672
  | `server` | `{ rowCount: number }` | — | Server mode: the rows are the page a server answered, and `rowCount` is its filtered set. The model then searches, filters, sorts, groups and pages nothing - it would do it over one page and call that the whole. |
12686
- | `tree` | [`TreeInput`](#type-TreeInput)`<Z>` | — | Tree rows: the rows are the roots, and these read their children. The model then sorts every level on its own, filters by core's path rule and pages nothing. |
12673
+ | `tree` | `TreeInput``<Z>` | — | Tree rows: the rows are the roots, and these read their children. The model then sorts every level on its own, filters by core's path rule and pages nothing. |
12687
12674
 
12688
12675
  ##### `TableOptions`
12689
12676
 
12690
- Its table stands on [First table](#/first-table/type-TableOptions).
12677
+ Its table stands on [First table](#first-table).
12691
12678
 
12692
12679
  ##### `TableProps`
12693
12680
 
12694
- Its table stands on [First table](#/first-table/type-TableProps).
12681
+ Its table stands on [First table](#first-table).
12695
12682
 
12696
12683
  ##### `TableRef`
12697
12684
 
@@ -12705,7 +12692,7 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
12705
12692
  };
12706
12693
  ```
12707
12694
 
12708
- Used on [First table](#/first-table).
12695
+ Used on [First table](#first-table).
12709
12696
 
12710
12697
  ##### `TableRequest<K extends string = string>`
12711
12698
 
@@ -12719,7 +12706,7 @@ completes wrongly. A width, an order, a pin or a fold is no part of it.
12719
12706
  type TableRequest<K extends string = string> = Required<Pick<TableView<K>, "search" | "conditions" | "sort" | "page" | "pageSize">>;
12720
12707
  ```
12721
12708
 
12722
- Used on [Server mode](#/server-mode).
12709
+ Used on [Server mode](#server-mode).
12723
12710
 
12724
12711
  ##### `TableSelection<T extends string | number>`
12725
12712
 
@@ -12729,18 +12716,18 @@ selection.
12729
12716
 
12730
12717
  | Prop | Type | Default | Description |
12731
12718
  |---|---|---|---|
12732
- | `selected` *required* | `ReadonlySet<T>` | — | The keys currently selected.<br>Shown in: [Work through the alerts (Scenarios)](#/scenarios/work-through-the-alerts) |
12733
- | `isSelected` *required* | `(id: T) => boolean` | — | <br>Shown in: [Select rows (Selection)](#/selection/selection), [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself) |
12734
- | `toggle` *required* | `(id: T) => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself) |
12719
+ | `selected` *required* | `ReadonlySet<T>` | — | The keys currently selected.<br>Shown in: [Work through the alerts (Scenarios)](#work-through-the-alerts) |
12720
+ | `isSelected` *required* | `(id: T) => boolean` | — | <br>Shown in: [Select rows (Selection)](#selection), [Hold the selection yourself (Selection)](#selection) |
12721
+ | `toggle` *required* | `(id: T) => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#selection) |
12735
12722
  | `toggleAll` *required* | `() => void` | — | Selects all the keys passed in - or, when all of them are selected already, deselects them. Keys outside them stay as they are. |
12736
- | `clear` *required* | `() => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself), [Work through the alerts (Scenarios)](#/scenarios/work-through-the-alerts), [Find a late shipment (Scenarios)](#/scenarios/find-a-late-shipment) |
12723
+ | `clear` *required* | `() => void` | — | <br>Shown in: [Hold the selection yourself (Selection)](#selection), [Work through the alerts (Scenarios)](#work-through-the-alerts), [Find a late shipment (Scenarios)](#find-a-late-shipment) |
12737
12724
  | `allSelected` *required* | `boolean` | — | true when every key passed in is selected. |
12738
12725
  | `someSelected` *required* | `boolean` | — | true when some - but not all - are selected. |
12739
- | `count` *required* | `number` | — | <br>Shown in: [Select rows (Selection)](#/selection/selection), [Hold the selection yourself (Selection)](#/selection/hold-the-selection-yourself), [Copy the selection (Export)](#/export/copy-the-selection) and 2 more |
12726
+ | `count` *required* | `number` | — | <br>Shown in: [Select rows (Selection)](#selection), [Hold the selection yourself (Selection)](#selection), [Copy the selection (Export)](#export) and 2 more |
12740
12727
 
12741
12728
  ##### `TableSnapshot`
12742
12729
 
12743
- Its table stands on [First table](#/first-table/type-TableSnapshot).
12730
+ Its table stands on [First table](#first-table).
12744
12731
 
12745
12732
  ##### `TableView<K extends string = string>`
12746
12733
 
@@ -12751,24 +12738,24 @@ the application.
12751
12738
 
12752
12739
  | Prop | Type | Default | Description |
12753
12740
  |---|---|---|---|
12754
- | `search` | `string` | — | <br>Shown in: [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states), [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search) and 3 more |
12755
- | `conditions` | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters, per column. A condition for a column that does not exist, or whose filter is of another kind, falls out.<br>Shown in: [Ask a question over several fields (Filter)](#/filter/a-question-over-several-fields), [A dispatcher's bar (Toolbar controls)](#/toolbar-controls/a-dispatcher-s-bar), [Hand the table one page (Server mode)](#/server-mode/only-pages) and 4 more |
12756
- | `sort` | `readonly `[`SortLevel`](#type-SortLevel)`<K>[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view), [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search) and 3 more |
12757
- | `page` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search), [Name the values a list filter offers (Server mode)](#/server-mode/filter-options) and 2 more |
12758
- | `pageSize` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#/server-mode/only-pages), [Sort and search on the server (Server mode)](#/server-mode/sort-and-search), [Name the values a list filter offers (Server mode)](#/server-mode/filter-options) and 2 more |
12759
- | `hidden` | `readonly K[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
12741
+ | `search` | `string` | — | <br>Shown in: [Show loading, empty, failed and no match (Row appearance)](#row-appearance), [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode) and 3 more |
12742
+ | `conditions` | `Readonly<Record<string, unknown>>` | — | The conditions of the column filters, per column. A condition for a column that does not exist, or whose filter is of another kind, falls out.<br>Shown in: [Ask a question over several fields (Filter)](#filter), [A dispatcher's bar (Toolbar controls)](#toolbar-controls), [Hand the table one page (Server mode)](#server-mode) and 4 more |
12743
+ | `sort` | `readonly ``SortLevel``<K>[]` | — | <br>Shown in: [Keep and restore a view (View)](#view), [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode) and 3 more |
12744
+ | `page` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode), [Name the values a list filter offers (Server mode)](#server-mode) and 2 more |
12745
+ | `pageSize` | `number` | — | <br>Shown in: [Hand the table one page (Server mode)](#server-mode), [Sort and search on the server (Server mode)](#server-mode), [Name the values a list filter offers (Server mode)](#server-mode) and 2 more |
12746
+ | `hidden` | `readonly K[]` | — | <br>Shown in: [Keep and restore a view (View)](#view) |
12760
12747
  | `order` | `readonly K[]` | — | |
12761
12748
  | `widths` | `Readonly<Record<string, number>>` | — | Column widths the user has dragged, in pixels. |
12762
12749
  | `grouping` | `readonly K[]` | — | The columns and group keys the table is grouped by, the outermost first. |
12763
- | `folded` | `readonly string[]` | — | The paths of the folded groups. A path that no longer occurs falls out.<br>Shown in: [Fold groups into a summary (Grouping)](#/grouping/the-overview) |
12750
+ | `folded` | `readonly string[]` | — | The paths of the folded groups. A path that no longer occurs falls out.<br>Shown in: [Fold groups into a summary (Grouping)](#grouping-1) |
12764
12751
  | `branches` | `readonly string[]` | — | Tree rows: the keys of the open branches. A key that no longer occurs falls out. |
12765
- | `pinned` | `Readonly<Record<string, `[`Pin`](#type-Pin)`>>` | — | The pinned columns, whole, once the user's choice deviates from what the columns declare - `{}` when every declared pin was undone. A column that does not exist falls out. |
12752
+ | `pinned` | `Readonly<Record<string, ``Pin``>>` | — | The pinned columns, whole, once the user's choice deviates from what the columns declare - `{}` when every declared pin was undone. A column that does not exist falls out. |
12766
12753
 
12767
- Used on [View](#/view).
12754
+ Used on [View](#view).
12768
12755
 
12769
12756
  ##### `ToolbarProps`
12770
12757
 
12771
- Its table stands on [Toolbar](#/toolbar/type-ToolbarProps).
12758
+ Its table stands on [Toolbar](#toolbar).
12772
12759
 
12773
12760
  ##### `ToolbarSize`
12774
12761
 
@@ -12792,11 +12779,11 @@ and which branches are open.
12792
12779
 
12793
12780
  ##### `ValuePaths`
12794
12781
 
12795
- Its table stands on [Column](#/column/type-ValuePaths).
12782
+ Its table stands on [Column](#column).
12796
12783
 
12797
12784
  ##### `VerdictBase`
12798
12785
 
12799
- Its table stands on [VerdictColumn](#/verdictcolumn/type-VerdictBase).
12786
+ Its table stands on [VerdictColumn](#verdictcolumn).
12800
12787
 
12801
12788
  ##### `VerdictColumnComponent<Z>`
12802
12789