sortable Boolean|Object
(default: false)
If set to true
the user could sort the grid by clicking the column header cells. By default sorting is disabled.
Can be set to a JavaScript object which represents the sorting configuration.
Example - enable sorting
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "name" },
{ field: "age" }
],
dataSource: [
{ name: "Jane Doe", age: 30 },
{ name: "John Doe", age: 33 }
],
sortable: true
});
</script>
Check Sorting for a live demo.