columnMenu.sortable Boolean (default: true)

If set to true the column menu would allow the user to sort the treelist by the column field. By default the column menu allows the user to sort if sorting is enabled via the sortable option.

If this option is set to false the user could still sort by clicking the column header cell.

Example - disable column menu sorting

<div id="treeList"></div>
        columns: [
            { field: "name" },
            { field: "age" }
        sortable: true,
        columnMenu: {
            sortable: false
        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 }
In this article
Not finding the help you need? Improve this article