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

[Solved] Keep vertical scrolling position on binding

1 Answer 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jean-Philippe Mailhot
Top achievements
Rank 1
Jean-Philippe Mailhot asked on 15 Sep 2010, 07:13 PM
Hi, I have a gridview binded to a list of objects.  When items are added to the list, I want those new items in the gridview.  The problem is that everytime the list is updated,   the gridview vertical scrollbar is reset to the top.   The user should be able to select and scroll while new items are added to the gridview, how can I do that?

Please help, thank you

JP

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Sep 2010, 06:55 AM
Hi JP,

 The grid vertical scrollbar will be rest to top only if your collection raise Reset or you call Rebind() explicitly. If you use for example ObservableCollection<> with Add everything will work as expected. 

Kind regards,
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
Jean-Philippe Mailhot
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or