Copy property from old to new tree (using HierarchicalDataSource)

2 posts, 1 answers
  1. Kake
    Kake avatar
    14 posts
    Member since:
    Jan 2015

    Posted 05 Feb 2016 Link to this post

    Hi

    Currently using the treeView to display a "filesystem". when a user updates files the tree must refresh to sync the data (count etc)
    When the datasource is updated the tree goes back to the initial collapsible state. (the expanded property is provided from the backend)

    Q: Is there a way to maintain the expand state or copy the state from the old to the new datasource?

     

  2. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2512 posts

    Posted 09 Feb 2016 Link to this post

    Hello Kake,

    Yes, see the persist expanded state help topic.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top