How to Handle 'Select All' in Server-Side Pagination with Custom Row Selection in Material React Table? #1279
Unanswered
rogeliovividly
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.
-
I'm working with server-side paginated data where the server returns 10
Paymentitems per page, along with a summary of all payment IDs. The data structure looks like this:I want to customize the behavior of
onRowSelectionChangeso that when the "Select All" checkbox is checked, allallPaymentIdsare moved into myrowSelectionobject.Currently, I'm managing row selection manually like this:
Then, I'm using this setter in my table configuration:
Beta Was this translation helpful? Give feedback.
All reactions