Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA checkbox list of columns where the last visible column cannot be hidden.
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.
Wide tables where users choose columns.
Do not use it when: Columns must be reordered too.
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 | Default | Description |
|---|---|---|---|
columns | VisibilityColumn[] | - | Columns. |
rows | Record[] | - | Row data. |
caption | string | - | Table caption. |
defaultVisible | string[] | all | Initially visible keys. |
onChange | (keys) => void | - | Visible keys in column order. |
Native checkboxes in a fieldset; the table sits in a labelled scroll region.
The pattern ships with a test (table-column-visibility.test.tsx). Tests hide columns, the at-least-one rule and ordering.