5 Answers, 1 is accepted
This is the expected behavior in such cases. Unfortunately you cannot go around it. The problem is that the GridView is processing the PropertyChanged events of the business object and matches the new criteria against the existing group descriptors, hence placing the item in their proper group.
May I ask you what exactly are you trying to achieve so I can suggest an alternative approach to tackle the problem?
Looking forward to your response!
Nik
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Thanks for the quick response.
The reason why i asked to stop is there some data which if we try to edit them and it is automatically grouped we loose focus of the whole row where the user is trying to edit as there is a possibility of having multiple groups at the time and the user has to search for the row where it was shifted. because there are other fields to be edited too. Is there any workaround to stop or to cancel the autogrouping.
Thanks
Nivid
You can use the ScrollIntoView method of the GridView on Row/CellEditEnded event to bring the edited item into view no matter which group it has been moved to.
Let me know if this will work for you.
Nik
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Yes you are correct i can do that. but the issue that it will lead to will be the groups arent expanded and if we do that will it auto expand the groups?
Thanks
Nivid
Indeed, the group will be automatically expanded. I have attached a simple project demonstrating the approach. Please take a look at it and let us know in case you have any further questions.
Vera
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.