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

Expand row parent after inline edit of child grid

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roel
Top achievements
Rank 1
Iron
Veteran
Roel asked on 08 Jan 2021, 02:42 PM

Hi,

I have a grid with a subgrid. A column in the parentgrid is calculated based on the sum of columns in the subgrid. When editing a column the value is saved properly. I have to do a refresh/read of the grids to show the new value. This is working properly. But after the refresh it is not visible for the user which row he just edited because everything is collapsed. How can I expand the row after the save to show the subgrid?

Kind regards,

Roel Alblas

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 12 Jan 2021, 11:57 AM

Hello, Roel,

When a parent grid rebinds, it is expected to collapse the child grids.

We have a couple of knowledge base articles which demonstrates how to restore the expanded state after refresh here:

https://docs.telerik.com/kendo-ui/knowledge-base/persist-expanded-rows

https://docs.telerik.com/kendo-ui/knowledge-base/grid-persist-expanded-rows

Take a look at the approaches and let me know in case you need further assistance.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Roel
Top achievements
Rank 1
Iron
Veteran
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or