Does the TreeView support any kind of on demand update?
In other words: does it require the entire tree to be available on load, or can a node's children be made available only when expanding the node?
2 Answers, 1 is accepted
0
Accepted
Didi
Telerik team
answered on 28 May 2018, 03:15 PM
Hello,
In order to achieve the requirement, you could handle the ItemTapped event of the TreeView and in its handler use the Expand method to expand the specific item from the source collection.
From the code above the item is cast to the business object you're using ( it's Item in the sample). When there are no children, they are added to the Item. In this way, the Expand method works fine on demand update.
I hope I could be of help.
Regards,
Didi
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items