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

Load On Demand with custom list

1 Answer 61 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Umar
Top achievements
Rank 1
Umar asked on 02 Aug 2017, 03:53 PM

Hi Team, 

I guess this is something i  either cannot find or i am missing something in tutorials, 

I want to have a tree which binds to my custom list  and i want to use load on demand feature , 

 

i did find  solution in patches ,

1) load on demand examples only creates new RadTreeNode whereas i want to bind my custom object

2) binding custom object example shows how to bind a object list with levels known at design time. 

 

Any sample code or direction will be highly appreciated.  

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 03 Aug 2017, 08:14 AM
Hi Umar,

I am afraid that this is not possible. If you want to use the load on demand feature you need to retrieve the data from your object at runtime and pass it to the tree. The TreeView cannot be bound in this case. 

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Treeview
Asked by
Umar
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or