Back to Table

TableOptions_ColumnVisibility

docs/reference/interfaces/TableOptions_ColumnVisibility.md

8.21.31.1 KB
Original Source

Interface: TableOptions_ColumnVisibility

Defined in: features/column-visibility/columnVisibilityFeature.types.ts:12

Properties

enableHiding?

ts
optional enableHiding: boolean;

Defined in: features/column-visibility/columnVisibilityFeature.types.ts:16

Whether to enable column hiding. Defaults to true.


onColumnVisibilityChange?

ts
optional onColumnVisibilityChange: OnChangeFn<ColumnVisibilityState>;

Defined in: features/column-visibility/columnVisibilityFeature.types.ts:20

If provided, this function will be called with an updaterFn when state.columnVisibility changes. This overrides the default internal state management, so you will need to persist the state change either fully or partially outside of the table.