How to traverse the treeview

2 posts, 0 answers
  1. Ewgenij
    Ewgenij avatar
    11 posts
    Member since:
    Jun 2020

    Posted 07 Aug Link to this post

    How can I traverse the treeview? For example, I start at a node somewhere in the hierarchy and want to get data from its parent and then from the parent of the parent? 

     

    I could use the TreeItemLookup, but it fires when checkboxes are enabled for each node only. And then I would get the parent of the current node only, not the parent of the parent.

  2. Svetlin
    Admin
    Svetlin avatar
    448 posts

    Posted 11 Aug Link to this post

    Hi Ewgenij,

    We will need more information about your current Kendo UI subscription. I have therefore generated a sales lead, and you can expect our licensing specialists to contact you, or if you have any questions about obtaining a license for Kendo UI for Angular, feel free to open a separate thread.

    If your company has already purchased a license from another account, please contact the license holder and provide them with this link so they can add you as a licensed developer. If you need to purchase or renew your subscription, you can reach out to our product specialists on telerik-sales@progress.com. They will gladly assist you with finding both the answers to your questions and a subscription that best fits your needs.

    Once your account is associated with an active subscription, you can benefit from the full benefits of the respective support plan.

    About the question, what could be done is to use the node template index field based on which it would be possible to get the desired parent element or elements of the current node by calling the itemLookup() function. Indeed, the provided index would have to be split accordingly using some custom logic in order to find the desired parent node. But there isn't another built - in feature that would allow to achieve the requirement at the moment.

    Please let me know in case any further information is required for this case.

    Regards,
    Svetlin
    Progress Telerik

Back to Top