I know you can go one by one and disable sorting of columns. How can you disable it globally? Or is it simply impossible? Did I mention that this was an HTML table initially and converted to a jqgrid with the expansion function they have.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use column template. To set
sortable: falsefor all columns of jqGrid or just to set it as the default value for thesortableproperty you can useas additional jqGrid option. If you use tableToGrid then you should just add the same option to the second parameter of
tableToGrid:UPDATED: I don’t understand where you have any problem. Here you will find very simple demo which work. If you would click on any column header the grid will be not sorted.