How to get all or specific nodes of treeview?

2 posts, 0 answers
  1. PL
    PL avatar
    2 posts
    Member since:
    Sep 2014

    Posted 29 Oct 2014 Link to this post


    We are trying to get all or specific nodes of treeview. We are unable to do this with following code,

    var testTreeView = $("#treeViewIdStr").data("kendoTreeView");

    Above code returnds undefined data.

    Is there any other way?
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2497 posts

    Posted 30 Oct 2014 Link to this post

    Hello Pritesh,

    The checkboxes example shows how to traverse all items in the TreeView (see the checkedNodeIds function). You can get specific items via the DataSource get method.

    Alex Gyoshev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top