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] Row grouping doesn't work with derived columns (valueGetter) #16015

Open
cherniavskii opened this issue Dec 27, 2024 · 0 comments · May be fixed by #16016
Open

[data grid] Row grouping doesn't work with derived columns (valueGetter) #16015

cherniavskii opened this issue Dec 27, 2024 · 0 comments · May be fixed by #16016
Labels
bug 🐛 Something doesn't work 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 plan: Premium Impact at least one Premium user

Comments

@cherniavskii
Copy link
Member

cherniavskii commented Dec 27, 2024

Steps to reproduce

Steps:

  1. Open https://stackblitz.com/edit/react-ckm8xj4b?file=Demo.tsx
  2. Group rows by year

Current behavior

No grouping rows created:

Expected behavior

Grouping rows should be created, same as when the rows have the year property defined:

https://stackblitz.com/edit/react-ckm8xj4b-5qfwbcgs?file=Demo.tsx

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 grouping derived valueGetter

@cherniavskii cherniavskii added bug 🐛 Something doesn't work plan: Premium Impact at least one Premium user feature: Row grouping Related to the data grid Row grouping feature labels Dec 27, 2024
@github-actions github-actions bot changed the title [DataGridPremium] Row grouping doesn't work with derived columns (valueGetter) [data grid] Row grouping doesn't work with derived columns (valueGetter) Dec 27, 2024
@github-actions github-actions bot added the component: data grid This is the name of the generic UI component, not the React module! label Dec 27, 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: Row grouping Related to the data grid Row grouping feature plan: Premium Impact at least one Premium user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant