useRowSelect able to toggle multiple row at once. #3322
Unanswered
maxime4000
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a custom select that allow me to do complex selection in React-Table. Something close to windows file explorer. When receiving selection event, I can receive multiple id at once but I cannot use toggleRowSelected for multiple row. So I need to loop from all id to toggle each one of them which cause re-render and freeze when doing big selection very fast.
I think toggleRowSelected could work like this :
Incomplet Prototype Solution :
Maybe something like ToggleAllRowSelected solution handling array of id would be better ?
Beta Was this translation helpful? Give feedback.
All reactions