Expand to TreeListViewItem

2 posts, 0 answers
  1. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 22 Oct 2014 Link to this post

    Hi!
    I use the TreeListView with LoadOnDemand to display a plant tree in my application.
    Now I need a "Search" function for this plant tree.

    I need a function to expand to a tree item with path.
    Do you have a sample or some tips for me!

    THX
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 24 Oct 2014 Link to this post

    Hi Michael,

    RadTreeListView does not offer this functionality out of the box, however you can easily find a solution to the problem. 

    You can establish the path you need to expand from your data, and use it later on for TreeListView. 

    The idea is to use ScrollItemIntoViewAsync to expand the items one at a time until you reach the desired depth and item. 

    Hope this makes sense. 

    Regards,
    Nik
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top