This is a migrated thread and some comments may be shown as answers.

slow performance when EnableRowVirtualization on and no rowHeight

1 Answer 234 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sebastian
Top achievements
Rank 1
Sebastian asked on 25 Oct 2011, 12:28 PM
Hello!
I have a very poor performance when EnableRowVirtualization="True" and no rowHeight is set.
If I set e.g. Row.Height = 90 then everything is okay.

Any Ideas?

1 Answer, 1 is accepted

Sort by
0
Andrew
Top achievements
Rank 1
answered on 26 Oct 2011, 07:55 PM
It sound like you may understand why its happening, but I'll just share my experience. We had the gridview in a row of height "Auto" so the gridview thought it was much larger and therefore took up a huge amount of memory (it thinks the whole thing is on screen). We put the gridview into a row with height "*" and the performance problem was fixed because row virtualization was able to actually work.
Tags
GridView
Asked by
Sebastian
Top achievements
Rank 1
Answers by
Andrew
Top achievements
Rank 1
Share this question
or