columns.hidden Boolean (default: false)

If set to true, the TreeList will not display the column. By default, all columns are displayed.

Example - hiding columns

<div id="treeList"></div>
<script>
    $("#treeList").kendoTreeList({
        columns: [
            { field: "name" },
            { field: "age", hidden: true }
        ],
        dataSource: {
            data: [
                { id: 1, parentId: null, name: "Jane Doe", age: 22 },
                { id: 2, parentId: 1, name: "John Doe", age: 24 }
            ]
        }
    });
</script>
In this article
Not finding the help you need? Improve this article