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

2 posts, 0 answers
  1. Khanh
    Khanh avatar
    17 posts
    Member since:
    May 2018

    Posted 09 Aug 2018 Link to this post

    I have a gird and child expand row. When i filter gird, the row is collapse. How to keep expand or collapse ?
  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    1082 posts

    Posted 13 Aug 2018 Link to this post

    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.
Back to Top