-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Closed
Copy link
Labels
feature: PivotingRelated to the data grid pivoting featureRelated to the data grid pivoting featurescope: data gridChanges related to the data grid.Changes related to the data grid.support: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Steps to reproduce
Steps:
- Open this link to the demo: https://mui.com/x/react-data-grid/pivoting/#advanced-demo
- Enable Pivot
- Select Counterparty Country as a column or value for pivot
Current behavior
The text of the column is [Object object] if use as a column.
The text of the cell is empty if used as a value. It chooses size for its aggregation.
Expected behavior
Displaying the value with the flag would be nice, if its too complicated just having the correct value would be enought.
For the value in the cell I figure that maybe size doesn't make sense, but in that case having a custom aggregation could be interesting to show. Either way, it should be just an empty cell.
Context
Most of the field in our grid is an object and I wanted to see how the advanced demo deal with those.
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: Pivot
Order ID: 100223
Metadata
Metadata
Assignees
Labels
feature: PivotingRelated to the data grid pivoting featureRelated to the data grid pivoting featurescope: data gridChanges related to the data grid.Changes related to the data grid.support: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.type: bugIt doesn't behave as expected.It doesn't behave as expected.