Skip to content

Row selection with controlled pagination #2661

Discussion options

You must be logged in to vote

You need to set autoResetSelectedRows: false and you need to add getRowId: (row) => row.key so it doesn't use idx as id and of course add a field key to your data structure and make sure the keys are unique.

https://codesandbox.io/s/react-table-server-side-pagination-row-select-5gfrp

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ignlopezsanchez
Comment options

@qmup
Comment options

@LeshaZholner
Comment options

@timB73
Comment options

Answer selected by ignlopezsanchez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants