Edit this page

sortable.allowUnsort Boolean (default: true)

If set to true the user can get the grid in unsorted state by clicking the sorted column header.

Example - do not allow unsorting

<div id="grid"></div>
  columns: [
    { field: "name" },
    { field: "age" }
  dataSource: [
    { name: "Jane Doe", age: 30 },
    { name: "John Doe", age: 33 }
  sortable: {
    allowUnsort: false
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article