API Reference
State Options
All the state options that can be used in Shadcn Table
Many of the state options you can pass here are the same as the ones you can pass to the TanStack Table v9 useTable hook. Read them back from
table.state.
Here is a list of all the state options you can pass to initialState or state.
const table = useShadcnTable({
columns,
data,
//note: each individual state must be mutually exclusive to `initial state` or `state`
initialState: {
// all the state options you can pass here
},
state: {
// or here
},
});Wanna see the source code for this table? Check it out down below!