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

Performance issue

1 Answer 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ofer alper
Top achievements
Rank 1
ofer alper asked on 02 Mar 2010, 03:06 PM
Hi,

I have a simple application that show grid to the user and according to the user selection i refresh the grid.

when i refresh the grid i do the following:
1) create a new list with the new items
2) grid.ItemsSource = newlist;

if the new list has more than 1000 objects the refresh takes several seconds.

How can i improve the refresh time of the grid ?

I also tried to work with ObservableCollection and update it instead of binding a new list, but it still took several seconds.

Thanks you,
Ofer

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 02 Mar 2010, 03:12 PM
Hello Ofer,

Please make sure that the grid is not measured with infinity height - inside StackPanel or ScrollViewer. In this case there will be no rows virtualization.

Best wishes,
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.
Tags
GridView
Asked by
ofer alper
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or