@messaia/cdk 22.0.1-rc.28 → 22.0.1-rc.29

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
@@ -48,10 +48,13 @@ IDs must be unique and stable across pages. Rows without an ID use reference equ
48
48
  Toggling a reloaded row removes its existing selection instead of adding a duplicate.
49
49
  `reload()` still clears selection by default.
50
50
 
51
- To restore checked rows when navigating back to a server-backed `vd-dynamic-table`,
52
- bind `[rememberSelectionKey]` to a stable string unique to that table and its record
53
- scope. Only rows with IDs are remembered. The selection is kept in memory until it
54
- is cleared or the app is reloaded. Omit the input to leave selection unchanged.
51
+ Set `@Table({ rememberSelection: true })` on a row model to restore checked rows
52
+ when returning to server-backed lists for that model. This is off by default.
53
+ `GenericListComponent` uses its existing list configuration scope; standalone
54
+ `vd-dynamic-table` instances with `[classType]` use their route and data source.
55
+ For multiple standalone tables that share the same model and scope on one page,
56
+ use distinct `[rememberSelectionKey]` overrides. Only rows with IDs are remembered,
57
+ and the selection is kept in memory until it is cleared or the app is reloaded.
55
58
 
56
59
  ## Running unit tests
57
60