tsimport {useTableColumnSettings} from '@astryxdesign/core/Table'
| Param | Type | Description |
|---|---|---|
columnsrequired | ColumnSettingsOption[] | All available columns with metadata for the settings UI. Each entry has key, label, optional isAlwaysVisible and group. |
activeColumnKeysrequired | string[] | Currently active column keys, in display order. Only columns with keys in this array are shown. |
onChangeActiveColumnKeysrequired | (keys: string[]) => void | Called when active columns change (toggle, reorder). |
defaultColumnKeys | string[] | Default column set for "Reset to default". When omitted, reset shows all columns. |