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

[Solved] Persist state for detailed template

1 Answer 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
grex
Top achievements
Rank 1
grex asked on 15 Jan 2015, 03:15 PM
Hello, 

We've added persist state to our grids but we would like to save the status of the detailed grid, so if you leave a few detailed grids opened, when we come back they are still opened. 

Is this possible?

Regards,
Fernando.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 19 Jan 2015, 11:46 AM
Hello Fernando,

The expanded rows are not part of the grid state so they will not be preserved automatically. It is possible to implement this requirement by using the expandRow and the collapseRow methods in the dataBound event to restore the saved state. I created an example that demonstrates preserving the expanded state.

Regards,
Daniel
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
grex
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or