@guiexpert/table 1.1.114 → 1.1.116

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/README.md CHANGED
@@ -89,6 +89,10 @@ This is the UI-agnostic table component for your next web app. 😊
89
89
  visibility picker with `ColumnDef.hideable: false` locks); composes with `externalFilterFunction` and `appendRows()`,
90
90
  persists in `TableStateIf` (`autoRestoreFilterState`), and supports server-side filtering (`columnFilter: { managed:
91
91
  false }`) – since 1.1.114
92
+ - "Open" a row or a tile with Enter **and** double click: one event `onCellActivated` (wrappers `cellActivated`) in
93
+ every table. Cover grid with the keyboard: the arrow keys move from item to item (wrap at the end of a row, empty
94
+ tiles skipped), Home/End, Page Up/Down, the focus follows the item after sorting, filtering and resizing. Focus
95
+ frame: `focusFrame: "always" | "keyboard" | "never"` – since 1.1.115
92
96
  - State persistence: column layout (width, order, visibility), sorting, scroll position, tree, checked and selected
93
97
  rows, header groups – in `localStorage` (`autoRestoreOptions`) or on your server (`tableApi.getState()` /
94
98
  `applyState()`, `initialState`, `onStateChanged`); stored by property and row id, never by index – since 1.1.92
@@ -118,6 +122,12 @@ This is the UI-agnostic table component for your next web app. 😊
118
122
  - **Built-in column filters, value checklist or column chooser:** `filterRow: true`, `columnFilterMenu: true`,
119
123
  `tableApi.showColumnChooser(button)` (since 1.1.114); `onFilterChanged` (wrapper `filterChanged`), server-side mode
120
124
  via `columnFilter: { managed: false }`.
125
+ - **Open a row or a cover with Enter or a double click:** `listener.onCellActivated = evt => open(evt.row ?? evt.value)`
126
+ (wrappers `cellActivated`, since 1.1.115) – one handler for keyboard and mouse.
127
+ - **Hide the focus frame:** `tableOptions.focusFrame: "never"`, or `"keyboard"` to show it only while the table is used
128
+ with the keyboard (since 1.1.115) – not with CSS.
129
+ - **Cover grid warns "the body model has no row objects"?** Fixed in 1.1.116 – the scroll state stores the first
130
+ visible item, no warning. Do not set `getRowId: (_row, rowIndex) => rowIndex` for a cover grid.
121
131
  - **AI assistants:** `llms.txt` in this package – recipes and pitfalls, every snippet compiled against the API.
122
132
  - **Nothing visible?** The host div needs a fixed height and the stylesheet `@guiexpert/table/css/main.css`.
123
133