Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jqgrid disable headers

I have a very simple question (I searched on google but found nothing).

How to disable header on a JQgrid, so that if the user clicks on a header: nothing happens (not sorting, not refreshing, and not appearing that little arrow on the right, but allowing to resize the column)??.

I hope you can help me, Thanks in advance.

like image 294
lidermin Avatar asked Jan 18 '10 15:01

lidermin


1 Answers

I found the solution by myself:

You only need to put:

sortable: false

On each column you don't want to be sorted and thats it.

like image 194
lidermin Avatar answered Oct 26 '22 13:10

lidermin