Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA hook-free wrapper that keeps the table preferences in local storage per table id, validates them against the known columns and offers Reset to defaults.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this when a table is used daily and people set it up once: back-office tools, dashboards, admin lists.
Do not use it when preferences should follow the person across devices (save them on the server and load them with the profile).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Required | Description |
|---|---|---|---|
tableId | string | required | - |
columns | CollectionColumnOption[] | required | - |
defaults | CollectionPreferencesValue | required | - |
children | (prefs: CollectionPreferencesValue) => React.ReactNode | required | Renders the collection with the active preferences. |
The pattern ships with a Testing Library test (collection-preferences-persisted.test.tsx) that covers sanitising saved data, defaults, saving and restoring, corrupt JSON and reset.