Load On Demand with custom list

2 posts, 0 answers
  1. Umar
    Umar avatar
    1 posts
    Member since:
    May 2017

    Posted 02 Aug Link to this post

    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.  

     

  2. Dimitar
    Admin
    Dimitar avatar
    1877 posts

    Posted 03 Aug Link to this post

    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.
Back to Top