columnMenu.columns.sort String (default: null)

The sort order which will be applied over the columns list. By default, the columns menu items are in the same order as the columns in the grid.

The supported values are:

  • "asc" (ascending order)
  • "desc" (descending order)

Example - sort column menu columns list in descending order

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { field: "age" },
    { field: "city" }
  ],
  columnMenu: {
    columns: {
      sort: "desc"
    }
  },
  sortable: true,
  dataSource: [
    { name: "Jane Doe", age: 30, city: "London" },
    { name: "John Doe", age: 33, city: "Madrid" }
  ]
});
</script>
In this article