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

Slowness sorting or resizing column width

3 Answers 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 10 Jul 2010, 09:32 PM
Has anybody else experienced slowness when either sorting a column or resizing the width of a column?

To sort or resize a column it is taking 8 seconds, you might think many rows is the problem. But I would not say that 320 records is a lot of rows.

I'm using the Model View View Model concept and creating a custom class that is binding to the grid. Could this approach be causing the slowness?

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Jul 2010, 07:25 AM
Hi Chad,

 Please verify if the grid is not inside StackPanel, ScrollViewer or Grid.Row with Auto Height. In this case the grid will be measured with infinity and the rows virtualization will be off.

Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chad
Top achievements
Rank 1
answered on 13 Jul 2010, 02:08 PM
Perfect, the grid was in a ScrollViewer and slowness is GONE!!! However, now the height of the multiple row header is not autosizing. So to clarify the multiple row has wrap text turned on and the width of the column is reduced to force it to wrap the text to a 2nd line. I'm only concerned with this in the header row.

What is the trick to get the header row to either autosize on the height or how do I specify the height?

Thanks ...
0
Chad
Top achievements
Rank 1
answered on 13 Jul 2010, 06:47 PM
I created a new post to for others to see how to change the header row height, see post "Change Header row Height when using wrap text" hopefully will have answers there.
Tags
GridView
Asked by
Chad
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Chad
Top achievements
Rank 1
Share this question
or