Edit this page

columns.locked Boolean (default: false)

If set to true the column will be displayed as locked (frozen) in the treelist.

Example - locked columns

<div id="treeList" style="width: 500px"></div>
<script>
  $("#treeList").kendoTreeList({
    columns: [
      { field: "id", locked: true, width: 100},
      { field: "name", width: 200 },
      { field: "age", width: 250 }
    ],
    dataSource: {
      data: [
        { id: 1, parentId: null, name: "Jane Doe", age: 22 },
        { id: 2, parentId: 1, name: "John Doe", age: 24 }
      ]
    }
  });
</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