Get/update data from selected TreeView node

2 posts, 0 answers
  1. Lutz
    Lutz avatar
    10 posts
    Member since:
    Feb 2017

    Posted 11 Aug 2017 Link to this post


    I have a treeview which gets data from an odata service (Sharepoint REST endpoint) using

    I am trying to get the following to work.


    When I click on a TreeView node I want to display the complete corresponding node data in a ListView with the ability to edit and update the data like in the ListView demo for editing. Any suggestions?




  2. Stefan
    Stefan avatar
    1593 posts

    Posted 15 Aug 2017 Link to this post

    Hello Lutz,

    In this scenario, I can suggest using the select event of the TreeView to retrieve the selected node and its text using the text or the dataItem methods:

    I made an example demonstrating how to retrieve the node and to set it to the ListView:

    Then the editing has to be handled programmatically as demonstrated in our demo:

    I hope this is helpful.

    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