Edit this page

height Number |String

The height of the treelist. Numeric values are treated as pixels.

Example - set 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 - set 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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy