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

Item update and row order

2 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 07 Mar 2014, 01:25 PM
Hello,
when an row is updated outside of the GridView, its position doesn't change, when the value of the currently sorted column changes.
Patrick

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 07 Mar 2014, 02:00 PM
Hello Patrik,

You should raise a CollectionChanged event for the bound source collection once you change an item. RadGridView will update its layout once it receives such a notification. Otherwise the UI will not be reevaluated. For example you can use the approach from this help article.

How does this approach work for you?

Regards,
Didie
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 19 Mar 2014, 07:09 AM
Hello Didie,
raising the CollectionChanged event solved the problem.
Patrick
Tags
GridView
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimitrina
Telerik team
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or