Column Order
The column ordering feature provides methods and state for managing the order of columns in the table. These properties are available on the table instance when using the column ordering feature. See the column ordering guide for usage examples and configuration details.
| Prop | Type |
|---|---|
Resets the columnOrder state to initialState.columnOrder, or true can
be passed to force a default blank state reset to []. | ( |
Sets or updates the state.columnOrder state. | ( |
Type
(
defaultState?: boolean,
) => void
Description
Resets the
columnOrder state to initialState.columnOrder, or true can
be passed to force a default blank state reset to [].Type
(
updater:
| T
| ((old: T) => T),
) => void
Description
Sets or updates the
state.columnOrder state.