Treeview refresh animation

1 Answer 53 Views
TreeView
Andrew
Top achievements
Rank 1
Andrew asked on 27 Jun 2024, 12:25 PM

When a treeview is first rendered is displays an animation indicating data is being loaded. I ahve a treeview that initially doesn't contain data, and only shows data after a user has entered a search.

I can refresh the treeview using   $("#treeview").data("kendoTreeView").dataSource.read();  but no animation is shown. I would have thought it would have been logical to show an animation as default behaviour, matching the grid and other controls.

How can I enable the animation on this call please?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 02 Jul 2024, 10:53 AM

Hi Andrew,

 

Thank you for writing to us.

Yes, I have tested this behavior and your assumption is right - the loading gif is not displayed when the TreeView is not bound initially:
https://netcorerepl.telerik.com/GeOrawbu51rnd7PZ10

Thank you for bringing this bug to our attention. I have updated your Telerik Points as a token of gratitude and will log this problem in our system. As a workaround, you can place your own loading image or gif and hide it during the .Events(e=>e.DataBound()) handler.

 

Regards,
Eyup
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.

Tags
TreeView
Asked by
Andrew
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or