I was able to reproduce the described behavior when using the GetDefaultView method of the CollectionViewSource. I investigated the scenario and here is what happens:
Basically, the GetDefaultView
method of CollectionViewSource returns an ListCollectionView
and its implementation of CommitEdit
removes the edited item and adds it again. That is why the edited item is moved to the bottom of the group. I have logged an item for this behavior on your behalf in our feedback portal: GridView: Editing a grouped RadGridView bound to a ListCollectionView moves the edited item to the bottom of the group
. You can follow the feedback item in order to get notified for any developments. I have also updated your telerik points
as a small gesture of gratitude.
Currently as a workaround, you can use the QueryableCollectionView
instead of the CollectionViewSource.
I hope you find this information helpful.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.