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

[data grid] Checkbox selection doesnt work for grouped items #14111

Closed
gor918 opened this issue Aug 5, 2024 · 3 comments
Closed

[data grid] Checkbox selection doesnt work for grouped items #14111

gor918 opened this issue Aug 5, 2024 · 3 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@gor918
Copy link

gor918 commented Aug 5, 2024

Steps to reproduce

Link to live example: (required)
https://stackblitz.com/edit/react-8o1qer?file=Demo.tsx

Steps:

  1. expand first row
  2. click to first checkbox (20th Century Fox (3))

Current behavior

After clicking on the first row (20th Century Fox (3)), only the parent row is selected

Expected behavior

When rows are grouped, clicking on a parent row should also select all grouped child rows

Context

No response

Your environment

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

Search keywords: row selection, group
Order ID: #76565

@gor918 gor918 added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 5, 2024
@arminmeh arminmeh added plan: Premium Impact at least one Premium user feature: Row grouping Related to the data grid Row grouping feature feature: Selection Related to the data grid Selection feature component: data grid This is the name of the generic UI component, not the React module! labels Aug 5, 2024
@arminmeh
Copy link
Contributor

arminmeh commented Aug 5, 2024

Hi @gor918
There is an open PR that is adding a behavior that you need

If you are ok with it, I will close this issue as a duplicate of #4248 (point 1) and you can follow the progress in the other ticket/PR

In case you think that this does not fully cover your use case, feel free to reopen the issue and comment with additional details.

@arminmeh arminmeh closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
@arminmeh arminmeh removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Aug 5, 2024
Copy link

github-actions bot commented Aug 5, 2024

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@gor918: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

@oliviertassinari oliviertassinari changed the title Checkbox selection doesnt work for grouped items. [data grid] Checkbox selection doesnt work for grouped items. Aug 6, 2024
@oliviertassinari oliviertassinari changed the title [data grid] Checkbox selection doesnt work for grouped items. [data grid] Checkbox selection doesnt work for grouped items Aug 17, 2024
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed bug 🐛 Something doesn't work plan: Premium Impact at least one Premium user feature: Selection Related to the data grid Selection feature feature: Row grouping Related to the data grid Row grouping feature labels Aug 17, 2024
@oliviertassinari
Copy link
Member

Duplicate of #4248

@oliviertassinari oliviertassinari marked this as a duplicate of #4248 Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants