state
The state
option can be used to optionally control part or all of the table state. The state you pass here will merge with and overwrite the internal automatically-managed state to produce the final state for the table. You can also listen to state changes via the onStateChange
option.
Note: Any state passed in here will override both the internal state and any other
initialState
you provide. API Docs Guide