I saved my column permutation info into a table. This information can be reloaded in beforeRequest event:
mynewperm = {....};
myGrid.jqGrid("remapColumns", mynewperm, true);
The columns are reordered correctly. However I lost the header icon. Now if I click any column header, I can not see
the sort icon anymore, then can not sort any column. How can I get it back?
Thank you,
yh
Indeed if you look at the
jquery.jqGrid.src.jssource, the line is:Line #1982 in my version. I fixed it by modifying the file and added this just before that line:
The problem was that
ts.p.lastsortwas -1.