-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tableRow can not choose, if using setState in onRowSelection #3734
Comments
Hi, I have exactly the same issue 👎 |
The issue description here is a real winner. |
I see my problem, i have a bad code beetween setState (call new rendering cycle) and render |
I'm in the same issue :( |
i think mui V15 has this issue, mui V14.0.4 is right. |
Is there a solution to this problem? if i call setState in onRowSelected it stops from showing me selected rows with highlight but row numbers appear in console correctly. (this state setting shouldnt couse rerendering , i jast pass it to another component) Thanks. |
I have the same problem. Why is this closed? In my case the selection updates state which should update another component. The selection never is visualized in the table. |
It seems that the bug has been fixed in the latest version .I solved this problem by 'npm install material-ui' |
this is still broken in 0.18.1 |
there is an issue with material-ui's table "forgetting" its checked status each render.
now that you maintain the checked status yourself you should have something like
and
and
|
Problem Description
Versions
The text was updated successfully, but these errors were encountered: