Skip to content

Server side sorting #3082

Discussion options

You must be logged in to vote

Figured it out myself. Here is a gist with an example: https://gist.github.com/philly-vanilly/a95f72684a01439160f67d5498bc3386

Many thanks to @junagao for the help: https://spectrum.chat/react-table/general/custom-sorting-manual-sorting-in-react-table~4b62ad3d-e562-42b8-9721-752dbe3ef5b3?m=MTU5OTA1MTU4NjgxOA==

The only thing not working for you was that in your effect you had the regular fetch call coming directly after the fetch-with-sort.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by philly-vanilly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant