Skip to content
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

[DataGrid] Cannot deselect all rows when isRowSelectable is used #15676

Open
cherniavskii opened this issue Nov 29, 2024 · 1 comment
Open

[DataGrid] Cannot deselect all rows when isRowSelectable is used #15676

cherniavskii opened this issue Nov 29, 2024 · 1 comment
Assignees
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Selection Related to the data grid Selection feature v8.x

Comments

@cherniavskii
Copy link
Member

cherniavskii commented Nov 29, 2024

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/sandbox/cocky-sun-y2yvjm
  2. Click "Select all" checkbox
  3. Click the same checkbox to deselect all rows

Current behavior

Selected rows stay selected

Expected behavior

All rows should be deselected

Context

I noticed this while working on #15651

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: deselect all isRowSelectable

@cherniavskii cherniavskii added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Selection Related to the data grid Selection feature v8.x labels Nov 29, 2024
@cherniavskii
Copy link
Member Author

cc @MBilalShafi

@MBilalShafi MBilalShafi self-assigned this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Selection Related to the data grid Selection feature v8.x
Projects
None yet
Development

No branches or pull requests

2 participants