Children of selected parent node

2 posts, 0 answers
  1. Kiran
    Kiran avatar
    3 posts
    Member since:
    Jun 2016

    Posted 01 Aug 2016 Link to this post

    Consider the following example:


    When checking child nodes you can see that the console.log outputs the correct child nodes. When selecting a parent node I get an event for the parent node specifically and the children are programmatically checked as the parent is checked. 

    Is there an easy way to know which child nodes gets selected. I'm only really interested in the check state of the deepest level. 



  2. Stefan
    Stefan avatar
    3067 posts

    Posted 03 Aug 2016 Link to this post

    Hello Kiran,

    I am not sure I completely understand what you are trying to achieve. However, the selected node can be found in the select event of the TreeView. The select event is giving access to the e.node element, which represents the selected node:

    Let me know if you need additional assistance with the Kendo UI TreeView API.

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top