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

Copy property from old to new tree (using HierarchicalDataSource)

1 Answer 66 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kake
Top achievements
Rank 1
Kake asked on 05 Feb 2016, 10:03 AM

Hi

Currently using the treeView to display a "filesystem". when a user files the tree must refresh to sync the data (count etc)
When the 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 state or copy the state from the old to the new ?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 09 Feb 2016, 09:25 AM

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!
 
Tags
TreeView
Asked by
Kake
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or