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-sortabledefinecursor:pointerinstead ofcursor: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.