Skip to content

useSortBy: manualSortBy and orderByFn props #2101

Answered by rasgo-cc
rasgo-cc asked this question in General
Discussion options

You must be logged in to vote

Ahhh, awesome.
Found out I can access the sortBy state this way:

  const {
    state: { sortBy },
  } = useTable(...);

Replies: 1 comment

Comment options

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