Edit this page

columns.sortable Boolean |Object (default: true)

If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. By default all columns are sortable if sorting is enabled via the sortable option.

Example - disable sorting

<div id="grid"></div>
  columns: [
    { sortable: false, field: "id" },
    { field: "name" }
  sortable: true,
  dataSource: [ { id: 1, name: "Jane Doe" }, { id: 2, name: "John Doe" } ]