gregnb / gregnb/mui-datatables
setSelectedRows on customToolbarSelect
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
## Issue: Apparently using the setSelectedRows on customToolbarSelect causes an infinite rerender loop
I created a table component to avoid redundant code.

The photo above is what I have done. I need the id of the row that is selected through the checkbox.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the issue around customToolbarSelect and setSelectedRows, then trace the selection state updates in the table implementation. Done means selecting a checkbox no longer causes an infinite rerender loop and the selected row id remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100