New to Kendo UI for jQuery? Download free 30-day trial

Check the TreeView Nodes Programmatically


Product Progress® Kendo UI® TreeView for jQuery
Operating System Windows 10 64bit
Visual Studio Version Visual Studio 2017
Preferred Language JavaScript


How can I show lines between the nodes of the Kendo UI for jQuery TreeView?


The following example demonstrates how to programmatically select the checkbox of a TreeView node.

  <div id="tree"></div>

      checkboxes: {
        checkChildren: true

      dataSource: {
        data: [
          { text: "Foo", expanded: true, items: [
            { text: "Bar" },
            { text: "Baz" }
          ] }

    var treeview = $("#tree").data("kendoTreeView");

    var bar = treeview.findByText("Bar");

    treeview.dataItem(bar).set("checked", true);

See Also

In this article