MahApps / MahApps/MahApps.Metro

DataGrid Grouping Performance

Open
#4,348 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.