3
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?

Oleg
  • 220,925
  • 34
  • 403
  • 798
Cynial
  • 680
  • 8
  • 23

1 Answers1

5

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.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798