theadjQuery
The jQuery object which represents the TreeList table header element.
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 thead element
var thead = treelist.thead;
console.log(thead);
</script>
In this article