MahApps / MahApps/MahApps.Metro
DataGrid Grouping Performance
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.8k
- Forks
- 2.4k
- Avg merge
- 1h 2m
- Merged PRs (30d)
- 56
Description
Hi All,
Hope I can find some help for an issue I've been running into. I was able to reproduce it using the demo app so this should be easy to demo locally. When working with medium sized (500+ rows) data sets grouping in the datagrid is incredibly slow to scroll etc..
I was able to reproduce this in the demo app by increasing the amount of Albums in SampleData.Albums, when testing with grouping this is extremely slow. When removing the groupDescription from the MainViewModel constructor the grid scrolls as normal, very fast.
Any tips & tricks? I've been fighting this for ages. Thanks so much
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the demo app by increasing the number of albums in SampleData.Albums and keeping groupDescription in the MainViewModel constructor. Compare grouped and ungrouped scrolling performance with 500 or more rows. Done means grouped data remains responsive while scrolling, matching the ungrouped grid's normal behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100