Skip to content

[BUG] - Sub Row Selection not working correctly #1046

@apandey00

Description

@apandey00

material-react-table version

2.12.1

react & react-dom versions

18.2.0

Describe the bug and the steps to reproduce it

After clicking the group header to select all sub-rows,
individually unselecting the sub-rows results in the group header being left as checked ☑️ instead of unchecked 🔳.

Minimal, Reproducible Example - (Optional, but Recommended)

You can repro in the live storybook:
https://www.material-react-table.dev/?path=/story/features-sub-row-tree-examples--sub-row-tree-with-selection

Screenshots or Videos (Optional)

issue-gif.mp4

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions