tbodyjQuery

The jQuery object which represents the table body. Contains all TreeList table rows.

Example

<div id="treelist"></div>
<script>
  var treelist = $("#treelist").kendoTreeList({
    columns: [
      { field: "Name" },
      { field: "Position" }
    ],
    dataSource: [
      { id: 1, Name: "Daryl Sweeney", Position: "CEO", parentId: null },
      { id: 2, Name: "Guy Wooten", Position: "Chief Technical Officer", parentId: 1 }
    ]
  }).data("kendoTreeList");
  
  // Access the tbody element
  var tbody = treelist.tbody;
  console.log(tbody);
</script>
In this article
tbody
Not finding the help you need?
Contact Support