columnMenu.columns Boolean (default: true)

If set to true the column menu would allow the user to select (show and hide) treelist columns. By default the column menu allows column selection.

Example - disable column show/hide using the column menu

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