Reputation: 45
I am using the .NET 4 WPF DataGrid and notice poor vertical scrolling performance when using a large number of columns. Here is what i did to test this:
Here are some results:
What can i do to improve vertical scrolling performance when i have a large number of columns (~75 - 100)?
Thanks
Upvotes: 3
Views: 3944
Reputation: 3363
You are missing two very important properties:
Enable both of them and see if that makes a difference. It should help.
I have about 20 or so columns with about 2,500 rows and I haven't see performance issues, but it 75 columns definitely seems like a lot. You might want to investigate adding a right-click enable/disable columns in the header (similar to excel).
Upvotes: 5