colModel :[
{name:'action', index:'action', width:220,
sortable:false, formatter:valueToActionFormatter}
]
when I specifies the sortable option false, the headers still get ui-jqgrid-sortable css class. Google said setColProp can solve this issue. But how to do it? Any idea?
You are right. It's not nice, that ui-jqgrid-sortable define cursor:pointer instead of cursor:default. You are not the first person which think so. You will find the workaround in the demo which I created for the answer.
UPDATED: The problem with the cursor on non-sortable columns is not exist more in free jqGrid 4.8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With