Keep group expanded after row edit

We are having an issue where we are grouping data in a grid by a certain value and after the user makes an edit to a single row, the grid refreshed and the groups are all collapsed. We have the grid set up so that the user double clicks into a row and it becomes editable. After simply clicking away or removing focus from that row, the row data is saved and edit mode is over. On the action of updating/saving, we are then reloading the data from the database and refreshing the grid. No matter what we do we cannot get the group that was expanded to remain expanded. After doing some research I found the property "PersistGroupState" but setting that to true doesn't work either. I'm guessing it's because we are refreshing the data set which also contains the grouping information? Is there any way to get around this? This is a major issue as the user might have to update multiple rows in a group and having to click to expand that group every time can get pretty tedious and annoying.


1 Reply

SK Sanjay Kumar Suresh Syncfusion Team November 10, 2025 12:27 PM UTC

Hi Joe Sperlak,


We have created a simple sample and validated the mentioned scenario at our end. We were unable to replicate the reported issue, and observed that after updating a row, the grouped state was preserved as expected.


For your reference, we’ve attached the sample we used to ensure this behavior. Please review


Sample: https://blazorplayground.syncfusion.com/embed/BXhyWCWtTsGhoyQa?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5


Before proceeding further kindly share us the below details from your end.

  1. Share us the entire Grid code snippet with model class?
  2. Please provide the information whether lazy loading has been used from your end.
  3. Please share the edit mode you are using from your end, to replicate the issue.
  4. Share us the video demonstration of the reported issue.
  5. Please provide a simple issue replicating sample or try to modify the above-mentioned sample.


The above requested detail will be very helpful for us to validate the reported issue at our end.


Regards,

Sanjay Kumar Suresh


Loader.
Up arrow icon