How to extract function to reset row selection from a parent component. #4686
Unanswered
bracesproul
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Late reply but I'm facing this same problem, did you manage to solve it? |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Version: 8.7.4
I need to be able to call a function in a parent component (4 levels above the base table component) that will reset the selected rows in the table.
This is what my
useReactTable
looks like (delete code that isn't applicable to this question)The goal:
A user selects X rows, they then click a delete button to delete X rows, inside of that mutation handler I want to be able to also call a function like
resetRowSelection
which will reset the current selections.Does anyone have any ideas on how I can acolmpish this?
Beta Was this translation helpful? Give feedback.
All reactions