[v8] Should toggleSorting()
function not be triggered automatically when table enableSorting
is false?
#4992
Unanswered
lucapollani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a table with a loading state and I control the table
enableSorting
prop based onloading
state.The
toggleSorting()
I placed on header cell and theonSortingChange()
I placed inuseReactTable
are always called even whenenableSorting
isfalse
.Is this correct and then I should enable the functions adding an explicit additional check on the
loading
state or should they be automatically inhibited whenenableSorting
is disabled?Beta Was this translation helpful? Give feedback.
All reactions