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

Load children on initialize last data bound

1 Answer 101 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Dan asked on 08 Feb 2021, 09:23 AM
I need to display a hierarchy with checkboxes. For this I want to use TreeView. After the hierarchy finishes loading I have to do some actions. So the TreeView is configured with LoadOnDemand: false and a function is attached to the "dataBound" event. However it seems that the data bound is called after every call to the server. Is there an event that is triggered after all the nodes have been loaded? How can I know that the databound is the last one (all the nodes have been loaded)?

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 11 Feb 2021, 07:58 AM

Hi Dan,

You can check this Forum reply that discusses an approach of how the desired functionality can be implemented.

I hope the above will help you.

Regards,
Petar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TreeView
Asked by
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Petar
Telerik team
Share this question
or