Edit this page

columnMenu.sortable Boolean (default: true)

If set to true the column menu would allow the user to sort the grid 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="grid"></div>
  columns: [
    { field: "name" },
    { field: "age" }
  columnMenu: {
    sortable: false
  sortable: true,
  dataSource: [
    { name: "Jane Doe", age: 30 },
    { name: "John Doe", age: 33 }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article