Skip to content

Purpose of manualSorting: true if getSortedRowModel is unset #5992

Closed Answered by garthendrich
garthendrich asked this question in Q&A
Discussion options

You must be logged in to vote

I ended up digging through the codebase and it seems like this is the only use of manualSorting. Thus, manualSorting: true and an unset getSortedRowModel does the same thing 👍

if (table.options.manualSorting || !table._getSortedRowModel) {
return table.getPreSortedRowModel()
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by garthendrich
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