@umriss-ui/table 0.12.0 → 0.13.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,4 +1,4 @@
1
- # @umriss-ui/table 0.12.0
1
+ # @umriss-ui/table 0.13.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
 
@@ -1172,7 +1172,7 @@ const COLUMNS = [
1172
1172
  { id: "latencySlo", label: "Latency objective (ms)" },
1173
1173
  ] as const;
1174
1174
 
1175
- /* Written once for every table of the application. In manual mode the table
1175
+ /* Written once for every table of the application. In server mode the table
1176
1176
  holds one page of the server's, and that is all `asCsv` can write - so the
1177
1177
  button says so instead of pretending to copy the whole list. */
1178
1178
  function CopyAsCsv({ of }: { of: TableRef }) {
@@ -1184,7 +1184,7 @@ function CopyAsCsv({ of }: { of: TableRef }) {
1184
1184
  void navigator.clipboard.writeText(of.asCsv()).then(() => setCopied(true));
1185
1185
  }}
1186
1186
  >
1187
- {copied ? "Copied" : of.manual ? "Copy this page as CSV" : "Copy as CSV"}
1187
+ {copied ? "Copied" : of.server ? "Copy this page as CSV" : "Copy as CSV"}
1188
1188
  </Button>
1189
1189
  );
1190
1190
  }
@@ -1275,7 +1275,7 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
1275
1275
  | `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 |
1276
1276
  | `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 3 more |
1277
1277
  | `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) |
1278
- | `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 (Manual mode)](#/manual-mode/loading-and-late-answers) and 1 more |
1278
+ | `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 |
1279
1279
  | `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) |
1280
1280
  | `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) |
1281
1281
  | `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 |
@@ -1314,11 +1314,17 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
1314
1314
  | `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 22 more |
1315
1315
  | `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) |
1316
1316
  | `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 |
1317
- | `initialView` | [`TableView`](#type-TableView) | — | The view on the first render. 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 |
1317
+ | `initialView` | [`TableView`](#type-TableView) | — | The view to start from, and to go to whenever one differing in content from the last is handed in - the same view again changes nothing, and what it leaves out is reset; one the table reported itself, handed back late, is its own state coming back and not gone to. 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 |
1318
1318
  | `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), [Combine grid mode with groups, pinning and many rows (Grid mode)](#/grid-mode/the-whole-grid) |
1319
1319
  | `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) |
1320
1320
  | `filter` | `(row: Z) => boolean` | — | *Deprecated* Is called `preFilter` now; the old name goes with the next minor version. The old name of `preFilter` – the same filter, the same meaning. |
1321
1321
 
1322
+ ###### Events
1323
+
1324
+ | Prop | Type | Default | Description |
1325
+ |---|---|---|---|
1326
+ | `onViewChange` | `(view: `[`TableView`](#type-TableView)`) => void` | — | Every change of the view, once, always the whole view - the one to keep, or to hand another table as its `initialView`. Not called for the view the table starts with.<br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
1327
+
1322
1328
  ##### `TableSnapshot<Z>`
1323
1329
 
1324
1330
  | Prop | Type | Default | Description |
@@ -1348,7 +1354,7 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
1348
1354
  | `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) |
1349
1355
  | `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 |
1350
1356
  | `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 |
1351
- | `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), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation), [Load pages from a server (Manual mode)](#/manual-mode/a-million-rows-on-a-server) and 1 more |
1357
+ | `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), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation), [Load pages from a server (Server mode)](#/server-mode/a-million-rows-on-a-server) and 1 more |
1352
1358
  | `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) |
1353
1359
  | `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) |
1354
1360
  | `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) |
@@ -1360,10 +1366,10 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
1360
1366
  | `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) |
1361
1367
  | `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) |
1362
1368
  | `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) |
1363
- | `asCsv` *required* | `() => string` | — | The filtered set in the visible columns as text for a spreadsheet - in manual 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) |
1369
+ | `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) |
1364
1370
  | `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) |
1365
- | `rowCount` *required* | `number` | — | How many rows the filtered set has - in manual 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) |
1366
- | `manual` *required* | `boolean` | — | Whether it is in manual 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) |
1371
+ | `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) |
1372
+ | `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) |
1367
1373
 
1368
1374
  ##### Types on this page
1369
1375
 
@@ -1444,11 +1450,11 @@ the application.
1444
1450
 
1445
1451
  | Prop | Type | Default | Description |
1446
1452
  |---|---|---|---|
1447
- | `search` | `string` | — | <br>Shown in: [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states), [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search) and 3 more |
1448
- | `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 (Manual mode)](#/manual-mode/only-pages) and 4 more |
1449
- | `sort` | `readonly `[`SortLevel`](#type-SortLevel)`<K>[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view), [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search) and 3 more |
1450
- | `page` | `number` | — | <br>Shown in: [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search), [Name the values a list filter offers (Manual mode)](#/manual-mode/filter-options) and 2 more |
1451
- | `pageSize` | `number` | — | <br>Shown in: [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search), [Name the values a list filter offers (Manual mode)](#/manual-mode/filter-options) and 2 more |
1453
+ | `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 |
1454
+ | `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 |
1455
+ | `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 |
1456
+ | `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 |
1457
+ | `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 |
1452
1458
  | `hidden` | `readonly K[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
1453
1459
  | `order` | `readonly K[]` | — | |
1454
1460
  | `widths` | `Readonly<Record<string, number>>` | — | Column widths the user has dragged, in pixels. |
@@ -3110,7 +3116,7 @@ From `ExportProps` — the full table stands on [Export](#/export/type-ExportPro
3110
3116
 
3111
3117
  #### Known limits
3112
3118
 
3113
- - In [manual mode](#/manual-mode) the table sorts nothing itself; the sort goes to the server in the view.
3119
+ - In [server mode](#/server-mode) the table sorts nothing itself; the sort goes to the server in the request.
3114
3120
 
3115
3121
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
3116
3122
 
@@ -3294,7 +3300,7 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
3294
3300
 
3295
3301
  #### Known limits
3296
3302
 
3297
- - In [manual mode](#/manual-mode) the table searches nothing itself; the term goes to the server in the view.
3303
+ - In [server mode](#/server-mode) the table searches nothing itself; the term goes to the server in the request.
3298
3304
 
3299
3305
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
3300
3306
 
@@ -4297,7 +4303,7 @@ The keys of [First table](#/first-table/keyboard-first-table), [Popover](https:/
4297
4303
 
4298
4304
  | Prop | Type | Default | Description |
4299
4305
  |---|---|---|---|
4300
- | `id` *required* | `string` | — | Its name in `t.view.conditions` and in what manual 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 |
4306
+ | `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 |
4301
4307
  | `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 |
4302
4308
  | `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 |
4303
4309
  | `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) |
@@ -4323,7 +4329,7 @@ type Absent = null | undefined;
4323
4329
  #### Known limits
4324
4330
 
4325
4331
  - No text filter per column: the search covers text.
4326
- - In [manual mode](#/manual-mode) a list filter offers what the application names; the table cannot count values it does not hold.
4332
+ - In [server mode](#/server-mode) a list filter offers what the application names; the table cannot count values it does not hold.
4327
4333
 
4328
4334
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
4329
4335
 
@@ -5619,7 +5625,7 @@ export default function GroupAndFoldFromControls() {
5619
5625
 
5620
5626
  - No pivot and no more than three levels ([ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/)).
5621
5627
  - No bar to drag headers onto: grouping is chosen in the column menu.
5622
- - No groups in [manual mode](#/manual-mode): they would be made of one page.
5628
+ - No groups in [server mode](#/server-mode): they would be made of one page.
5623
5629
 
5624
5630
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
5625
5631
 
@@ -6225,7 +6231,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-Toolba
6225
6231
  #### Known limits
6226
6232
 
6227
6233
  - Not with grouping or pagination: both would build or cut levels a second way. A large tree uses virtualisation.
6228
- - Not in [manual mode](#/manual-mode), and no branches loaded on demand yet.
6234
+ - Not in [server mode](#/server-mode), and no branches loaded on demand yet.
6229
6235
  - One column set for every level; a level without a value shows it as absent.
6230
6236
 
6231
6237
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
@@ -6667,7 +6673,7 @@ type Displayable = string | number | boolean | Date;
6667
6673
 
6668
6674
  #### Known limits
6669
6675
 
6670
- - No footer in [manual mode](#/manual-mode): a sum over one page would misstate the server's set.
6676
+ - No footer in [server mode](#/server-mode): a sum over one page would misstate the server's set.
6671
6677
 
6672
6678
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
6673
6679
 
@@ -6851,7 +6857,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-Toolba
6851
6857
 
6852
6858
  #### Known limits
6853
6859
 
6854
- - In [manual mode](#/manual-mode) “select all” selects the page the table holds.
6860
+ - In [server mode](#/server-mode) “select all” selects the page the table holds.
6855
6861
 
6856
6862
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
6857
6863
 
@@ -7111,7 +7117,7 @@ From `TableOptions` — the full table stands on [First table](#/first-table/typ
7111
7117
  | Prop | Type | Default | Description |
7112
7118
  |---|---|---|---|
7113
7119
  | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
7114
- | [`initialView`](#/first-table/TableOptions-initialView) | [`TableView`](#/first-table/type-TableView) | — | The view on the first render. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
7120
+ | [`initialView`](#/first-table/TableOptions-initialView) | [`TableView`](#/first-table/type-TableView) | — | The view to start from, and to go to whenever one differing in content from the last is handed in - the same view again changes nothing, and what it leaves out is reset; one the table reported itself, handed back late, is its own state coming back and not gone to. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
7115
7121
 
7116
7122
  From `FieldColumn` — the full table stands on [Column](#/column/type-FieldColumn).
7117
7123
 
@@ -8601,7 +8607,7 @@ The keys of [First table](#/first-table/keyboard-first-table), [Input](https://r
8601
8607
 
8602
8608
  | Prop | Type | Default | Description |
8603
8609
  |---|---|---|---|
8604
- | `id` *required* | `string` | — | Its name in `t.view.conditions` and in what manual 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 |
8610
+ | `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 |
8605
8611
  | `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 |
8606
8612
  | `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 |
8607
8613
  | `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) |
@@ -8774,7 +8780,7 @@ Demo page: https://romanhaendler.github.io/umriss-ui/table/export/
8774
8780
 
8775
8781
  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 a decimal comma, a point in time as a timestamp, an absent value as an empty field. Fields are separated by semicolons, and a byte order mark tells the spreadsheet it is UTF-8.
8776
8782
 
8777
- A verdict column exports its value, not the verdict. In [manual mode](#/manual-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.
8783
+ 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.
8778
8784
 
8779
8785
  #### Examples
8780
8786
 
@@ -8919,13 +8925,13 @@ import { useTable } from "@umriss-ui/table";
8919
8925
 
8920
8926
  Demo page: https://romanhaendler.github.io/umriss-ui/table/view/
8921
8927
 
8922
- The table remembers nothing, not in the address and not in any storage. Everything stands in `t.view`; keep it where the application keeps things and hand it back through `initialView`.
8928
+ 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 and hand it back through `initialView`. A view that differs from the last one handed in applies at once, the same one again changes nothing - two tables stay in step by handing each other what they report.
8923
8929
 
8924
8930
  #### Examples
8925
8931
 
8926
8932
  ##### Keep and restore a view
8927
8933
 
8928
- `t.view` holds search, sort, hidden columns and widths; hand it back through `initialView` with a new `key`. Sort, hide, drag a width.
8934
+ `onViewChange` reports search, sort, hidden columns and widths as one view; hand one back through `initialView` and the table goes to it, no `key` needed. Sort, hide, drag a width, then restore.
8929
8935
 
8930
8936
  ```tsx
8931
8937
  import { useState } from "react";
@@ -8952,8 +8958,12 @@ const INVOICES: Invoice[] = [
8952
8958
  { id: "INV-26-0302", supplier: "Fenwright Legal", costCentre: "Finance", amount: 3770 },
8953
8959
  ];
8954
8960
 
8955
- function InvoiceList({ start, restart }: { start: TableView; restart: (view: TableView) => void }) {
8956
- const t = useTable(INVOICES, { rowKey: (i) => i.id, initialView: start });
8961
+ export default function InitialView() {
8962
+ /* The application keeps the view the table reports; handing it another one
8963
+ is all it takes to restore. */
8964
+ const [view, setView] = useState(START_VIEW);
8965
+ const [kept, setKept] = useState<TableView | null>(null);
8966
+ const t = useTable(INVOICES, { rowKey: (i) => i.id, initialView: view, onViewChange: setView });
8957
8967
  const { Table, Column } = t;
8958
8968
 
8959
8969
  return (
@@ -8978,32 +8988,19 @@ function InvoiceList({ start, restart }: { start: TableView; restart: (view: Tab
8978
8988
  </Text>
8979
8989
  </Stack>
8980
8990
  <Stack direction="row" gap={2} wrap>
8981
- <Button size="sm" onClick={() => restart(t.view)}>
8982
- Start again with this view
8991
+ <Button size="sm" onClick={() => setKept(view)}>
8992
+ Keep this view
8983
8993
  </Button>
8984
- <Button size="sm" variant="ghost" onClick={() => restart(START_VIEW)}>
8994
+ <Button size="sm" variant="ghost" disabled={kept === null} onClick={() => kept && setView(kept)}>
8995
+ Restore the kept view
8996
+ </Button>
8997
+ <Button size="sm" variant="ghost" onClick={() => setView(START_VIEW)}>
8985
8998
  Back to the beginning
8986
8999
  </Button>
8987
9000
  </Stack>
8988
9001
  </Stack>
8989
9002
  );
8990
9003
  }
8991
-
8992
- export default function InitialView() {
8993
- const [start, setStart] = useState(START_VIEW);
8994
- const [generation, setGeneration] = useState(0);
8995
-
8996
- return (
8997
- <InvoiceList
8998
- key={generation}
8999
- start={start}
9000
- restart={(view) => {
9001
- setStart(view);
9002
- setGeneration((n) => n + 1);
9003
- }}
9004
- />
9005
- );
9006
- }
9007
9004
  ```
9008
9005
 
9009
9006
  #### Keyboard
@@ -9029,7 +9026,13 @@ From `TableOptions` — the full table stands on [First table](#/first-table/typ
9029
9026
  | Prop | Type | Default | Description |
9030
9027
  |---|---|---|---|
9031
9028
  | [`rowKey`](#/first-table/TableOptions-rowKey) *required* | `(row: Z) => string` | — | A stable key per row – the basis of selection and expansion. |
9032
- | [`initialView`](#/first-table/TableOptions-initialView) | [`TableView`](#/first-table/type-TableView) | — | The view on the first render. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
9029
+ | [`initialView`](#/first-table/TableOptions-initialView) | [`TableView`](#/first-table/type-TableView) | — | The view to start from, and to go to whenever one differing in content from the last is handed in - the same view again changes nothing, and what it leaves out is reset; one the table reported itself, handed back late, is its own state coming back and not gone to. The table remembers none: where a view is kept is the application's decision. Names no column carries fall out. |
9030
+
9031
+ ###### Events
9032
+
9033
+ | Prop | Type | Default | Description |
9034
+ |---|---|---|---|
9035
+ | [`onViewChange`](#/first-table/TableOptions-onViewChange) | `(view: `[`TableView`](#/first-table/type-TableView)`) => void` | — | Every change of the view, once, always the whole view - the one to keep, or to hand another table as its `initialView`. Not called for the view the table starts with. |
9033
9036
 
9034
9037
  From `TableSnapshot` — the full table stands on [First table](#/first-table/type-TableSnapshot).
9035
9038
 
@@ -9327,7 +9330,7 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
9327
9330
 
9328
9331
  #### Known limits
9329
9332
 
9330
- - In [manual mode](#/manual-mode) the page goes to the server in the view, and `rowCount` decides how many pages there are.
9333
+ - In [server mode](#/server-mode) the page goes to the server in the request, and `rowCount` decides how many pages there are.
9331
9334
 
9332
9335
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
9333
9336
 
@@ -9516,11 +9519,11 @@ From `ToolbarProps` — the full table stands on [Toolbar](#/toolbar/type-Toolba
9516
9519
  #### Known limits
9517
9520
 
9518
9521
  - Paging and virtualisation do not combine; one table does one or the other.
9519
- - No loading more rows while scrolling: a table on a server pages ([Manual mode](#/manual-mode)).
9522
+ - No loading more rows while scrolling: a table on a server pages ([Server mode](#/server-mode)).
9520
9523
 
9521
9524
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
9522
9525
 
9523
- ### Manual mode
9526
+ ### Server mode
9524
9527
 
9525
9528
  A table over rows a server holds: the application hands in one page and the server's count, and the table reports what to fetch next (also called server-side paging, sorting and filtering).
9526
9529
 
@@ -9528,9 +9531,9 @@ A table over rows a server holds: the application hands in one page and the serv
9528
9531
  import { useTable } from "@umriss-ui/table";
9529
9532
  ```
9530
9533
 
9531
- Demo page: https://romanhaendler.github.io/umriss-ui/table/manual-mode/
9534
+ Demo page: https://romanhaendler.github.io/umriss-ui/table/server-mode/
9532
9535
 
9533
- `onViewChange` reports the view 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.
9536
+ `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.
9534
9537
 
9535
9538
  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.
9536
9539
 
@@ -9538,12 +9541,12 @@ Requests are the application's: the table shows whatever rows it is given, so an
9538
9541
 
9539
9542
  ##### Hand the table one page
9540
9543
 
9541
- `manual` takes the rows of one page and the server's `rowCount`; `onViewChange` reports the page the user asks for next.
9544
+ `server` takes the rows of one page and the server's `rowCount`; `onRequest` reports the page the user asks for next.
9542
9545
 
9543
9546
  ```tsx
9544
9547
  import { useState } from "react";
9545
9548
  import { Pagination, useTable } from "@umriss-ui/table";
9546
- import type { ManualView } from "@umriss-ui/table";
9549
+ import type { TableRequest } from "@umriss-ui/table";
9547
9550
 
9548
9551
  /* Data from the logistics world, written out here so the example runs on its own. */
9549
9552
  /** A small LCG - the same numbers on every computer. */
@@ -9698,7 +9701,7 @@ const SHIPMENTS: readonly Shipment[] = TOURS.flatMap((one) =>
9698
9701
  );
9699
9702
 
9700
9703
  /* The server is a slice of an array here; in an application it is a request. */
9701
- const serve = (view: ManualView) => {
9704
+ const serve = (view: TableRequest) => {
9702
9705
  const start = (view.page - 1) * view.pageSize;
9703
9706
  return { rows: SHIPMENTS.slice(start, start + view.pageSize), rowCount: SHIPMENTS.length };
9704
9707
  };
@@ -9707,9 +9710,9 @@ export default function OnlyPages() {
9707
9710
  const [answer, setAnswer] = useState(() => serve({ search: "", conditions: {}, sort: [], page: 1, pageSize: 10 }));
9708
9711
  const { Table, Column } = useTable(answer.rows, {
9709
9712
  rowKey: (s) => s.id,
9710
- manual: true,
9713
+ server: true,
9711
9714
  rowCount: answer.rowCount,
9712
- onViewChange: (view) => setAnswer(serve(view)),
9715
+ onRequest: (view) => setAnswer(serve(view)),
9713
9716
  });
9714
9717
 
9715
9718
  return (
@@ -9725,13 +9728,13 @@ export default function OnlyPages() {
9725
9728
 
9726
9729
  ##### Sort and search on the server
9727
9730
 
9728
- The view `onViewChange` reports is complete: search, sort, page and page size, defaults included. The line below shows what the server received.
9731
+ The request `onRequest` reports is complete: search, sort, page and page size, defaults included. The line below shows what the server received.
9729
9732
 
9730
9733
  ```tsx
9731
9734
  import { useState } from "react";
9732
9735
  import { Stack, Text } from "@umriss-ui/core";
9733
9736
  import { Pagination, Search, Toolbar, useTable } from "@umriss-ui/table";
9734
- import type { ManualView } from "@umriss-ui/table";
9737
+ import type { TableRequest } from "@umriss-ui/table";
9735
9738
 
9736
9739
  /* Data from the logistics world, written out here so the example runs on its own. */
9737
9740
  /** A small LCG - the same numbers on every computer. */
@@ -9885,7 +9888,7 @@ const SHIPMENTS: readonly Shipment[] = TOURS.flatMap((one) =>
9885
9888
  }),
9886
9889
  );
9887
9890
 
9888
- const serve = (view: ManualView) => {
9891
+ const serve = (view: TableRequest) => {
9889
9892
  const term = view.search.trim().toLowerCase();
9890
9893
  const hits = SHIPMENTS.filter((s) => !term || s.id.toLowerCase().includes(term) || s.customer.toLowerCase().includes(term));
9891
9894
  const sort = view.sort[0];
@@ -9898,16 +9901,16 @@ const serve = (view: ManualView) => {
9898
9901
  return { view, rows: hits.slice(start, start + view.pageSize), rowCount: hits.length };
9899
9902
  };
9900
9903
 
9901
- const FIRST: ManualView = { search: "", conditions: {}, sort: [{ column: "id", direction: "asc" }], page: 1, pageSize: 10 };
9904
+ const FIRST: TableRequest = { search: "", conditions: {}, sort: [{ column: "id", direction: "asc" }], page: 1, pageSize: 10 };
9902
9905
 
9903
9906
  export default function SortAndSearch() {
9904
9907
  const [answer, setAnswer] = useState(() => serve(FIRST));
9905
9908
  const { Table, Column } = useTable(answer.rows, {
9906
9909
  rowKey: (s) => s.id,
9907
9910
  defaultSort: FIRST.sort[0],
9908
- manual: true,
9911
+ server: true,
9909
9912
  rowCount: answer.rowCount,
9910
- onViewChange: (view) => setAnswer(serve(view)),
9913
+ onRequest: (view) => setAnswer(serve(view)),
9911
9914
  });
9912
9915
  const { search, sort, page, pageSize } = answer.view;
9913
9916
 
@@ -9938,7 +9941,7 @@ The table holds one page and cannot count the values of the rest; `filterOptions
9938
9941
  ```tsx
9939
9942
  import { useState } from "react";
9940
9943
  import { Pagination, useTable } from "@umriss-ui/table";
9941
- import type { ManualView } from "@umriss-ui/table";
9944
+ import type { TableRequest } from "@umriss-ui/table";
9942
9945
 
9943
9946
  /* Data from the logistics world, written out here so the example runs on its own. */
9944
9947
  /** A small LCG - the same numbers on every computer. */
@@ -10094,7 +10097,7 @@ const SHIPMENTS: readonly Shipment[] = TOURS.flatMap((one) =>
10094
10097
 
10095
10098
  const STATUSES = ["delivered", "out for delivery", "failed attempt"] as const;
10096
10099
 
10097
- const serve = (view: ManualView) => {
10100
+ const serve = (view: TableRequest) => {
10098
10101
  const chosen = view.conditions.status as readonly string[] | undefined;
10099
10102
  const hits = SHIPMENTS.filter((s) => !chosen || chosen.includes(s.status));
10100
10103
  const start = (view.page - 1) * view.pageSize;
@@ -10105,9 +10108,9 @@ export default function ListFilter() {
10105
10108
  const [answer, setAnswer] = useState(() => serve({ search: "", conditions: {}, sort: [], page: 1, pageSize: 10 }));
10106
10109
  const { Table, Column } = useTable(answer.rows, {
10107
10110
  rowKey: (s) => s.id,
10108
- manual: true,
10111
+ server: true,
10109
10112
  rowCount: answer.rowCount,
10110
- onViewChange: (view) => setAnswer(serve(view)),
10113
+ onRequest: (view) => setAnswer(serve(view)),
10111
10114
  filterOptions: (column) => (column === "status" ? STATUSES : []),
10112
10115
  });
10113
10116
 
@@ -10129,7 +10132,7 @@ export default function ListFilter() {
10129
10132
  ```tsx
10130
10133
  import { useRef, useState } from "react";
10131
10134
  import { Pagination, useTable } from "@umriss-ui/table";
10132
- import type { ManualView } from "@umriss-ui/table";
10135
+ import type { TableRequest } from "@umriss-ui/table";
10133
10136
 
10134
10137
  /* Data from the logistics world, written out here so the example runs on its own. */
10135
10138
  /** A small LCG - the same numbers on every computer. */
@@ -10286,7 +10289,7 @@ const SHIPMENTS: readonly Shipment[] = TOURS.flatMap((one) =>
10286
10289
  /* Every answer takes 600 ms. Page on quickly: only the last request lands. */
10287
10290
  const LATENCY = 600;
10288
10291
 
10289
- const serve = (view: ManualView) => {
10292
+ const serve = (view: TableRequest) => {
10290
10293
  const start = (view.page - 1) * view.pageSize;
10291
10294
  return { rows: SHIPMENTS.slice(start, start + view.pageSize), rowCount: SHIPMENTS.length };
10292
10295
  };
@@ -10294,13 +10297,13 @@ const serve = (view: ManualView) => {
10294
10297
  export default function LoadingAndLateAnswers() {
10295
10298
  const [answer, setAnswer] = useState(() => serve({ search: "", conditions: {}, sort: [], page: 1, pageSize: 10 }));
10296
10299
  const [loading, setLoading] = useState(false);
10297
- const latest = useRef<ManualView | null>(null);
10300
+ const latest = useRef<TableRequest | null>(null);
10298
10301
 
10299
10302
  const { Table, Column } = useTable(answer.rows, {
10300
10303
  rowKey: (s) => s.id,
10301
- manual: true,
10304
+ server: true,
10302
10305
  rowCount: answer.rowCount,
10303
- onViewChange: (view) => {
10306
+ onRequest: (view) => {
10304
10307
  latest.current = view;
10305
10308
  setLoading(true);
10306
10309
  setTimeout(() => {
@@ -10324,13 +10327,13 @@ export default function LoadingAndLateAnswers() {
10324
10327
 
10325
10328
  ##### Load pages from a server
10326
10329
 
10327
- `manual` hands the table one page and the server's `rowCount`; `onViewChange` reports search, conditions, sort and page to fetch the next.
10330
+ `server` hands the table one page and the server's `rowCount`; `onRequest` reports search, conditions, sort and page to fetch the next.
10328
10331
 
10329
10332
  ```tsx
10330
10333
  import { useRef, useState } from "react";
10331
10334
  import { Stack, Text } from "@umriss-ui/core";
10332
10335
  import { ColumnMenu, Export, Pagination, Search, Toolbar, useTable } from "@umriss-ui/table";
10333
- import type { ManualView } from "@umriss-ui/table";
10336
+ import type { TableRequest } from "@umriss-ui/table";
10334
10337
 
10335
10338
  /* The server below is a fake: a million requests computed from their index,
10336
10339
  every answer delayed by 400 ms. Dropping a late answer to an older view is
@@ -10363,7 +10366,7 @@ const request = (i: number): Request => ({
10363
10366
  the way a database keeps an index warm. */
10364
10367
  let warm: { key: string; order: Int32Array | null } = { key: "", order: null };
10365
10368
 
10366
- function serve(view: ManualView): { rows: Request[]; rowCount: number } {
10369
+ function serve(view: TableRequest): { rows: Request[]; rowCount: number } {
10367
10370
  const search = view.search.trim().toLowerCase();
10368
10371
  const services = view.conditions.service as readonly string[] | undefined;
10369
10372
  const sort = view.sort[0] ?? BY_ID;
@@ -10399,8 +10402,8 @@ function serve(view: ManualView): { rows: Request[]; rowCount: number } {
10399
10402
  return { rows, rowCount };
10400
10403
  }
10401
10404
 
10402
- const FIRST: ManualView = { search: "", conditions: {}, sort: [BY_ID], page: 1, pageSize: 10 };
10403
- const same = (a: ManualView, b: ManualView) =>
10405
+ const FIRST: TableRequest = { search: "", conditions: {}, sort: [BY_ID], page: 1, pageSize: 10 };
10406
+ const same = (a: TableRequest, b: TableRequest) =>
10404
10407
  JSON.stringify([a.search, a.conditions, a.sort, a.page, a.pageSize]) ===
10405
10408
  JSON.stringify([b.search, b.conditions, b.sort, b.page, b.pageSize]);
10406
10409
 
@@ -10413,9 +10416,9 @@ export default function AMillionRowsOnAServer() {
10413
10416
  const t = useTable(answer.rows, {
10414
10417
  rowKey: (r) => r.id,
10415
10418
  defaultSort: BY_ID,
10416
- manual: true,
10419
+ server: true,
10417
10420
  rowCount: answer.rowCount,
10418
- onViewChange: (view) => {
10421
+ onRequest: (view) => {
10419
10422
  latest.current = view;
10420
10423
  /* Back to the view on screen before its successor was answered: the
10421
10424
  pending answer is dropped, so nothing is loading any more. */
@@ -11969,31 +11972,31 @@ Used on [Scenarios](#/) and [AlarmList](#/alarmlist).
11969
11972
 
11970
11973
  [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.
11971
11974
 
11972
- Used on [Scenarios](#/), [Provider](#/provider), [Column](#/column), [Width and pinning](#/width-and-pinning), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [ColumnMenu](#/columnmenu), [View](#/view) and [Manual mode](#/manual-mode).
11975
+ Used on [Scenarios](#/), [Provider](#/provider), [Column](#/column), [Width and pinning](#/width-and-pinning), [Grouping](#/grouping), [Tree rows](#/tree-rows), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [ColumnMenu](#/columnmenu), [View](#/view) and [Server mode](#/server-mode).
11973
11976
 
11974
11977
  ##### `Export`
11975
11978
 
11976
11979
  [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.
11977
11980
 
11978
- Used on [Scenarios](#/), [Provider](#/provider), [Sorting](#/sorting), [Grouping](#/grouping), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Export](#/export) and [Manual mode](#/manual-mode).
11981
+ Used on [Scenarios](#/), [Provider](#/provider), [Sorting](#/sorting), [Grouping](#/grouping), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Export](#/export) and [Server mode](#/server-mode).
11979
11982
 
11980
11983
  ##### `Pagination`
11981
11984
 
11982
11985
  [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.
11983
11986
 
11984
- Used on [Scenarios](#/), [First table](#/first-table), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Pagination](#/pagination) and [Manual mode](#/manual-mode).
11987
+ Used on [Scenarios](#/), [First table](#/first-table), [Filter](#/filter), [Pre-filter](#/pre-filter), [Grouping](#/grouping), [Toolbar](#/toolbar), [Toolbar controls](#/toolbar-controls), [Pagination](#/pagination) and [Server mode](#/server-mode).
11985
11988
 
11986
11989
  ##### `Search`
11987
11990
 
11988
11991
  [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.
11989
11992
 
11990
- 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), [Manual mode](#/manual-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [AlarmList](#/alarmlist).
11993
+ 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), [Server mode](#/server-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [AlarmList](#/alarmlist).
11991
11994
 
11992
11995
  ##### `Toolbar`
11993
11996
 
11994
11997
  [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).
11995
11998
 
11996
- 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), [Manual mode](#/manual-mode) and [Edits](#/edits).
11999
+ 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), [Server mode](#/server-mode) and [Edits](#/edits).
11997
12000
 
11998
12001
  #### Hooks
11999
12002
 
@@ -12004,8 +12007,8 @@ grouping, page, selection, column widths -, and the parts it returns are
12004
12007
  typed at your row, so that a field name in `Column` is checked by the
12005
12008
  compiler.
12006
12009
 
12007
- - `rows` – All rows in automatic mode; in manual mode the page a server delivered for the current view.
12008
- - `options` – How a row is keyed, the initial view, and in manual mode the server's count and the handler that hears every change of the view.
12010
+ - `rows` – All rows in automatic mode; in server mode the page a server delivered for the current view.
12011
+ - `options` – How a row is keyed, the view to start from and the handler that hears every change of it, and in server mode the server's count and the handler that hears every request.
12009
12012
  - Returns The table's state and its parts: `Table`, `Column`,
12010
12013
  `VerdictColumn`, `RowDetail`, `RowActions`, `Action` and `GroupBy`. Pass it
12011
12014
  as `of` to a part that stands outside the table.
@@ -12014,7 +12017,7 @@ as `of` to a part that stands outside the table.
12014
12017
  function useTable<Z>(rows: readonly Z[], options: TableOptions<Z>): Table<Z>;
12015
12018
  ```
12016
12019
 
12017
- 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), [Manual mode](#/manual-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [VerdictColumn](#/verdictcolumn).
12020
+ 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), [Server mode](#/server-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [VerdictColumn](#/verdictcolumn).
12018
12021
 
12019
12022
  ##### `useTableSelection`
12020
12023
 
@@ -12091,7 +12094,7 @@ one field in `P`, name the field as the second type argument.
12091
12094
  function column<P, K extends Field<P> = Field<P>>(preset: ColumnPreset<P, K>): ColumnPreset<P, K>;
12092
12095
  ```
12093
12096
 
12094
- 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), [Manual mode](#/manual-mode), [Grid mode](#/grid-mode), [VerdictColumn](#/verdictcolumn) and [AlarmList](#/alarmlist).
12097
+ 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), [Server mode](#/server-mode), [Grid mode](#/grid-mode), [VerdictColumn](#/verdictcolumn) and [AlarmList](#/alarmlist).
12095
12098
 
12096
12099
  ##### `columnFilter`
12097
12100
 
@@ -12944,20 +12947,6 @@ The condition of a list filter: the chosen values, an absent one as `null`.
12944
12947
  type ListCondition<W> = readonly (Present<W> | null)[];
12945
12948
  ```
12946
12949
 
12947
- ##### `ManualView<K extends string = string>`
12948
-
12949
- The view as manual mode reports it to `onViewChange`: the parts that decide
12950
- the rows - search, conditions, sort, page and page size - are always there,
12951
- at their default as well. A server has no default of the table's to fall
12952
- back on, and a view it has to complete is one it completes wrongly.
12953
-
12954
- ```ts
12955
- type ManualView<K extends string = string> = TableView<K> &
12956
- Required<Pick<TableView<K>, "search" | "conditions" | "sort" | "page" | "pageSize">>;
12957
- ```
12958
-
12959
- Used on [Manual mode](#/manual-mode).
12960
-
12961
12950
  ##### `ModelColumn<Z, K extends string = string>`
12962
12951
 
12963
12952
  A column as the model reads it - what sorting, search, hiding and the
@@ -13224,7 +13213,7 @@ row. Pass it as `of` to a part that stands outside the table.
13224
13213
  | `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) |
13225
13214
  | `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 |
13226
13215
  | `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 |
13227
- | `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), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation), [Load pages from a server (Manual mode)](#/manual-mode/a-million-rows-on-a-server) and 1 more |
13216
+ | `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), [Scroll twenty thousand rows (Virtualisation)](#/virtualisation/virtualisation), [Load pages from a server (Server mode)](#/server-mode/a-million-rows-on-a-server) and 1 more |
13228
13217
  | `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) |
13229
13218
  | `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) |
13230
13219
  | `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) |
@@ -13236,12 +13225,12 @@ row. Pass it as `of` to a part that stands outside the table.
13236
13225
  | `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) |
13237
13226
  | `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) |
13238
13227
  | `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) |
13239
- | `asCsv` *required* | `() => string` | — | The filtered set in the visible columns as text for a spreadsheet - in manual 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) |
13228
+ | `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) |
13240
13229
  | `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) |
13241
- | `rowCount` *required* | `number` | — | How many rows the filtered set has - in manual 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) |
13242
- | `manual` *required* | `boolean` | — | Whether it is in manual 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) |
13230
+ | `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) |
13231
+ | `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) |
13243
13232
 
13244
- 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), [Manual mode](#/manual-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [VerdictColumn](#/verdictcolumn).
13233
+ 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), [Server mode](#/server-mode), [Grid mode](#/grid-mode), [Edits](#/edits) and [VerdictColumn](#/verdictcolumn).
13245
13234
 
13246
13235
  ##### `TableInput<Z = unknown, K extends string = string>`
13247
13236
 
@@ -13258,7 +13247,7 @@ columns: search, filter, sort, page, hidden columns, order, grouping, tree.
13258
13247
  | `hidden` | `readonly K[]` | — | Ids of columns switched away. Columns that are not hideable stay. |
13259
13248
  | `order` | `readonly K[]` | — | The wanted column order. Columns not named follow in their natural order; unknown ids are passed over. |
13260
13249
  | `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. |
13261
- | `manual` | `{ rowCount: number }` | — | Manual 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. |
13250
+ | `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. |
13262
13251
  | `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 (table-tree-rows). |
13263
13252
 
13264
13253
  ##### `TableOptions`
@@ -13283,6 +13272,20 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
13283
13272
 
13284
13273
  Used on [First table](#/first-table).
13285
13274
 
13275
+ ##### `TableRequest<K extends string = string>`
13276
+
13277
+ The request server mode reports to `onRequest`: the parts of the view that
13278
+ decide the rows - search, conditions, sort, page and page size - and
13279
+ nothing else, each at its default as well. A server has no default of the
13280
+ table's to fall back on, and a request it has to complete is one it
13281
+ completes wrongly. A width, an order, a pin or a fold is no part of it.
13282
+
13283
+ ```ts
13284
+ type TableRequest<K extends string = string> = Required<Pick<TableView<K>, "search" | "conditions" | "sort" | "page" | "pageSize">>;
13285
+ ```
13286
+
13287
+ Used on [Server mode](#/server-mode).
13288
+
13286
13289
  ##### `TableSelection<T extends string | number>`
13287
13290
 
13288
13291
  What `useTableSelection` returns: the selected keys and the gestures on
@@ -13313,11 +13316,11 @@ the application.
13313
13316
 
13314
13317
  | Prop | Type | Default | Description |
13315
13318
  |---|---|---|---|
13316
- | `search` | `string` | — | <br>Shown in: [Show loading, empty, failed and no match (Row appearance)](#/row-appearance/states), [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search) and 3 more |
13317
- | `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 (Manual mode)](#/manual-mode/only-pages) and 4 more |
13318
- | `sort` | `readonly `[`SortLevel`](#type-SortLevel)`<K>[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view), [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search) and 3 more |
13319
- | `page` | `number` | — | <br>Shown in: [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search), [Name the values a list filter offers (Manual mode)](#/manual-mode/filter-options) and 2 more |
13320
- | `pageSize` | `number` | — | <br>Shown in: [Hand the table one page (Manual mode)](#/manual-mode/only-pages), [Sort and search on the server (Manual mode)](#/manual-mode/sort-and-search), [Name the values a list filter offers (Manual mode)](#/manual-mode/filter-options) and 2 more |
13319
+ | `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 |
13320
+ | `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 |
13321
+ | `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 |
13322
+ | `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 |
13323
+ | `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 |
13321
13324
  | `hidden` | `readonly K[]` | — | <br>Shown in: [Keep and restore a view (View)](#/view/initial-view) |
13322
13325
  | `order` | `readonly K[]` | — | |
13323
13326
  | `widths` | `Readonly<Record<string, number>>` | — | Column widths the user has dragged, in pixels. |