Type alias UseTableOptions<D>
Use
Table
Options
<D>: { columns
: ReadonlyArray<Column<D>>; data
: readonly D[] } & Partial<{ autoResetHiddenColumns
: boolean; defaultColumn
: Partial<Column<D>>; getRowId
: ((originalRow
: D, relativeIndex
: number, parent
?: Row<D>) => string); getSubRows
: ((originalRow
: D, relativeIndex
: number) => D[]); initialState
: Partial<TableState<D>>; stateReducer
: ((newState
: TableState<D>, action
: ActionType, previousState
: TableState<D>, instance
?: TableInstance<D>) => TableState<D>); useControlledState
: ((state
: TableState<D>, meta
: Meta<D>) => TableState<D>) }>
Type Parameters
NOTE: To use custom options, use "Interface Merging" to add the custom options