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 and filtering order #16050

Open
sohamindellient opened this issue Dec 31, 2024 · 2 comments
Open

[data grid] Row grouping and filtering order #16050

sohamindellient opened this issue Dec 31, 2024 · 2 comments
Labels
bug 🐛 Something doesn't work feature: Filtering Related to the data grid Filtering feature feature: Row grouping Related to the data grid Row grouping feature performance status: waiting for author Issue with insufficient information

Comments

@sohamindellient
Copy link

sohamindellient commented Dec 31, 2024

Steps to reproduce

I have a DataGridPremuim with a dataset of more than 100,000 rows. I have a group by which I want to do after filtering the rows down to around 5000. When I do that, the row grouping happens before the filtering and therefore is very slow in performance.

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

No response

Search keywords: Row grouping, filter

@sohamindellient sohamindellient added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 31, 2024
@michelengelen
Copy link
Member

If I understand your request correctly you want the filtering to happen before the grouping, correct? Could you maybe share a minimal reproduction in a codesandbox? You can use this as a starting point: DEMO

@michelengelen michelengelen added performance status: waiting for author Issue with insufficient information feature: Filtering Related to the data grid Filtering feature feature: Row grouping Related to the data grid Row grouping feature and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 2, 2025
@michelengelen michelengelen changed the title Row grouping and filtering order [data grid] Row grouping and filtering order Jan 2, 2025
@michelengelen
Copy link
Member

For me the demo works just fine with a set of 90_000 rows and filtering for a number in quantity or by desk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work feature: Filtering Related to the data grid Filtering feature feature: Row grouping Related to the data grid Row grouping feature performance status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

2 participants