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] Recipe for grouped rows autosizing #11401

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

michelengelen
Copy link
Member


Added a new recipe to show how column autosizing can be used when row grouping is in place as well

Closes #11262

@michelengelen michelengelen added component: data grid This is the name of the generic UI component, not the React module! feature: Row grouping Related to the data grid Row grouping feature recipe feature: Column resize labels Dec 13, 2023
@michelengelen michelengelen self-assigned this Dec 13, 2023
@mui-bot
Copy link

mui-bot commented Dec 13, 2023

michelengelen and others added 2 commits December 14, 2023 08:23
…ows.tsx

Co-authored-by: Andrew Cherniavskii <andrew.cherniavskii@gmail.com>
Signed-off-by: Michel Engelen <32863416+michelengelen@users.noreply.github.com>
Added a return statement to the subscribeEvent function in the docs/data/data-grid/column-dimensions/ColumnAutosizingGroupedRows.js file. This change is to ensure that the subscription is correctly cleaned up when the component is unmounted.
@michelengelen michelengelen enabled auto-merge (squash) December 14, 2023 07:27
@michelengelen michelengelen changed the title Data grid/recipes/11262 [DataGrid] Recipe for grouped rows autosizing Dec 14, 2023
@michelengelen michelengelen enabled auto-merge (squash) December 14, 2023 07:28
@michelengelen michelengelen merged commit f4f86d6 into mui:next Dec 14, 2023
15 checks passed
@michelengelen michelengelen deleted the data-grid/recipes/11262 branch June 24, 2024 07:49
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! feature: Column resize feature: Row grouping Related to the data grid Row grouping feature recipe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datagrid Premium: Autosize columns on the Expansion of a Group
3 participants