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

[Solved] Row Details Collapses on DataSource updates

1 Answer 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 16 Mar 2015, 06:12 PM
I am using a kendoGrid with a local data source that is updated when new data is available. This works fine. I recently added row details so I can expand a row and look at the data which also works fine. The issue is that whenever I get an update from the server (that in turn adds records to the DataSource) any row details that are expanded collapse. This is kind of annoying when you are trying to look at the data...

Any idea how to keep the details from collapsing when the DataSource is updated?

Thanks
Dave

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 18 Mar 2015, 01:43 PM
Hello Dave,

This is expected, because changes in the DataSource force the Grid to be redrawn. I would recommend checking this example, which illustrates how the expanded rows can be preserved.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or