开发者

jqgrid disable headers

开发者 https://www.devze.com 2022-12-17 12:41 出处:网络
I have a very simple question (I searched on google but found nothing). How to disable hea开发者_Go百科der on a JQgrid, so that if the user clicks on a header: nothing happens (not sorting, not refre

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

How to disable hea开发者_Go百科der 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消