Skip to content

[data grid] Inconsistent filtering results with aggregation #17953

Open
@cherniavskii

Description

@cherniavskii

Steps to reproduce

Steps:

  1. Open this link to live example: https://stackblitz.com/edit/frwhv7er-clvxrqqu?file=src%2FDemo.tsx
  2. Filter by size column typing "0.4" as filter value => 4 rows pass the filters
  3. Open the filter panel again and update the filter value to "0.41" => 0 rows pass the filters
  4. Open the filter panel again and update the filter value to "0.4" => 1 row passes the filters

Current behavior

The filter values in steps (2) and (4) are the same, but the results are different.

filtering+aggregation.mov

Expected behavior

The filtering results in step (2) should be the same as in step (4)

Context

I noticed this after fixing filtering by the size column in #17952

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: filtering aggregation

Metadata

Metadata

Assignees

Labels

bug 🐛Something doesn't workcomponent: data gridThis is the name of the generic UI component, not the React module!feature: AggregationRelated to the data grid Aggregation featurefeature: FilteringRelated to the data grid Filtering featurefeature: Tree dataRelated to the data grid Tree data featureplan: PremiumImpact at least one Premium user

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions