columns.locked Boolean
(default: false)
If set to true
, the TreeList will display the column as locked (frozen).
Example - displaying 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>