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

[DataGridPro] Fix the depth of nodes when switching from a non-flat tree to a flat tree #5362

Merged
merged 2 commits into from
Jul 4, 2022

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Jun 30, 2022

Will be fixed by #4927 in a clean way
The problem is that when the flat tree creator receives a tree from row grouping or tree data it just keeps its nodes, so the depth is wrong.

FIxes #5363

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…ree to a flat tree
@flaviendelangle flaviendelangle self-assigned this Jun 30, 2022
@flaviendelangle flaviendelangle added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Jun 30, 2022
Fix

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@mui-bot
Copy link

mui-bot commented Jun 30, 2022

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 241.8 415 305.7 315.48 67.129
Sort 100k rows ms 440.2 1,068.4 522.3 662.68 218.328
Select 100k rows ms 126.9 206.6 153.4 162.92 28.053
Deselect 100k rows ms 134.5 213 189.8 173.58 32.28

Generated by 🚫 dangerJS against 8accb08

@flaviendelangle flaviendelangle merged commit 65350b6 into mui:master Jul 4, 2022
@flaviendelangle flaviendelangle deleted the row-grouping-depth branch July 4, 2022 07:45
joserodolfofreitas pushed a commit to joserodolfofreitas/mui-x that referenced this pull request Jul 15, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…ree to a flat tree (mui#5362)
alexfauquette pushed a commit to alexfauquette/mui-x that referenced this pull request Aug 26, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…ree to a flat tree (mui#5362)
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!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Row grouping doesn't update correctly when removing group.
3 participants