Skip to content

[data grid] Activating an aggregate in the first row grouping demo breaks labels #19018

@GabrielVooDB

Description

@GabrielVooDB

Steps to reproduce

Steps:

  1. Open this link to live example: https://mui.com/x/react-data-grid/row-grouping/
  2. Enable size aggregation on company
  3. Remove size aggregation on company

Current behavior

The label value stays at 0 (which is itself strange).

Expected behavior

The value return correctly to the company name.

Context

We are trying to combine row grouping and aggregation and this issue was found. We then reproduced it in the demo.

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 aggregate

Order ID: 100223

Metadata

Metadata

Assignees

Labels

feature: AggregationRelated to the data grid Aggregation featurefeature: Row groupingRelated to the data grid Row grouping featurescope: data gridChanges related to the data grid.support: premium standardSupport request from a Premium standard plan user. https://mui.com/legal/technical-support-sla.type: regressionA bug, but worse, it used to behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions