column.sortable : boolean Default: false


Indicates if the column is sortable. If set to true the user can click the column header and sort the grid by the column source field.

Examples

  
Edit this example
<table id="grid"></table> <script> $("#grid").grid({ dataSource: "../Grid/GetPlayers", columns: [ { field: "ID" }, { field: "Name", sortable: true }, { field: "PlaceOfBirth", sortable: false }, { field: "DateOfBirth", type: "date", title: "Birth Date" } ] }); </script>