Unplanned
Last Updated: 23 Nov 2020 11:29 by ADMIN
Yuriy Rogach
Created on: 16 Nov 2020 21:16
Category: TreeView
Type: Feature Request
2
Add possibility to manually control the built-in loading indicator

I'm aware of the solution described https://www.telerik.com/forums/is-there-a-way-to-set-a-treeview-busy-like-grid's-loading but it would be nice to have a way to control build-in loading indicator instead of implementing a custom one.

 

In a scenario when the data is stored in the state and fetch children immediately returns empty observable and then when data is available and emitted to the source observable you can't see the loading indicator.

An example:

https://stackblitz.com/edit/angular-wtvg2h?file=app/categories.service.ts

Click to expand a category, the "expand" icon is changed to "expanded" but no data is available yet. Two seconds later when data arrives it looks fine, but it would be really good to improve users experience and show a build-in loading indicator while data is not yet available

3 comments
ADMIN
Svetlin
Posted on: 23 Nov 2020 11:29

Hi Yuriy,

Thank you for the update. We will track the demand for this feature request and update our future development plans accordingly.

Regards,
Svetlin
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/.

Yuriy Rogach
Posted on: 23 Nov 2020 10:15

Hi Svetlin,

 

Thank you for clarifying my request.

I can confirm that I need to control the loading spinner per node as opposed to a loading spinner for the complete TreeView.

ADMIN
Svetlin
Posted on: 23 Nov 2020 09:49

Hi Yuriy,

Thank you for the logged feature request.

Checking the provided example it seems that you need a way to control manually the built-in loading spinner per node. If I understand you correctly that could be achieved by providing an isLoading callback per each node. Could I ask you to confirm that the requirement is to control the loading spinner per node as opposed to a loading spinner for the complete TreeView? Thank you.

Regards,
Svetlin
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/.