contentjQuery

The jQuery object which represents the TreeList content element which holds the scrollable content. Available only when scrollable is set to true.

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 }
    ],
    scrollable: true
  }).data("kendoTreeList");
  
  // Access the content element
  var content = treelist.content;
  console.log(content);
</script>
In this article
content
Not finding the help you need?
Contact Support