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

The grid is NOT kept the current behavior after filter (expand or collapse)

1 Answer 13 Views
This is a migrated thread and some comments may be shown as answers.
Khanh
Top achievements
Rank 1
Khanh asked on 09 Aug 2018, 08:05 AM
I have a gird and child expand row. When i filter gird, the row is collapse. How to keep expand or collapse ?

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 13 Aug 2018, 09:38 AM
Hi, Khanh,

The default state of the Kendo UI Grid with detail template is collapsed to ensure better performance by means of lazy loading the details. When the master grid is refreshed, it assumes its default state and this is what happens when the grid is filtered - it is refreshed and the detail rows collapsed. 

To persist the expanded/collapsed state of the grid, you may use the approach we have shared in the documentation:

https://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/state/persist-expanded-rows

Let me know if you have any questions in regards to the article.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Khanh
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or