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

Reordering rows when finished editing

2 Answers 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TSRG - IT
Top achievements
Rank 1
TSRG - IT asked on 21 May 2010, 03:04 AM
Hi guys,

I've got a telerik rad grid view data bound to a BindingList<items> with group descriptiors enabled and it seems that when I edit a cell and then commit it, the row gets shifted to the bottom of the current grouping.

Any ideas?

Cheers,

Tim.

2 Answers, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 25 May 2010, 01:31 PM
Hello Timothy Lin,

When you edit an item this actually removes the item from the collection and adds it again at the correct place according to the current sorting, grouping and filtering. So the described behavior is expected, since the position of the item is changed on a data layer too. I hope this will help.

Best wishes,
Nedyalko Nikolov
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
TSRG - IT
Top achievements
Rank 1
answered on 28 May 2010, 08:54 AM
Hi Nedyalko Nikolov,

Thank you for the information, I ended up using a CollectionViewSource in the Xaml and applying some SortDescriptors to maintain the ordering!

Thank you,

Tim.
Tags
GridView
Asked by
TSRG - IT
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
TSRG - IT
Top achievements
Rank 1
Share this question
or