height Number|String
The height of the TreeList. Numeric values are treated as pixels.
Example - setting the height as a number
<div id="treeList"></div>
<script>
$("#treeList").kendoTreeList({
height: 100,
columns: [
{ field: "name" },
{ field: "age" }
],
dataSource: [
{ name: "Jane Doe", age: 30 },
{ name: "John Doe", age: 33 }
]
});
</script>
Example - setting the height as a string
<div id="treeList"></div>
<script>
$("#treeList").kendoTreeList({
height: "100em",
columns: [
{ field: "name" },
{ field: "age" }
],
dataSource: [
{ name: "Jane Doe", age: 30 },
{ name: "John Doe", age: 33 }
]
});
</script>