How to disable column sort

Column sort is enabled by default. You can use a little javascript if you must disable column sort. 

Below code snipet shows disable column name "status" in table "orders". 

<script>
jQuery(document).ready(function(){
jQuery('#orders').jqGrid("setColProp", 'status',{"sortable": false});});
</script>


Feedback and Knowledge Base