[data grid] Sorting on grouped row sorts within groups, not globally #15922
Labels
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
feature: Sorting
Related to the data grid Sorting feature
support: commercial
Support request from paid users
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
The problem in depth
I am grouping data we receive by date and within each date, rows are displayed with the time only. However, when sorting this column, instead of sorting the whole data and showing the oldest date first, it instead sorts the times inside each day, which isn't what I'm expecting or desire.
I have actually seen sorting work with groups, however, it seems to only happen if the group is separate from an existing data row. I don't want to show the date twice, so this solution wouldn't work for me.
There is an entire example of this issue on stackblitz: https://stackblitz.com/edit/react-yxuyax?file=Demo.tsx
Your environment
`npx @mui/envinfo`
TS config
Search keywords: grid, row grouping, sorting
Order ID: 100631
The text was updated successfully, but these errors were encountered: