I have a jqGrid in my page. I am giving an option to hide/show columns to the user(using columnchooser) and also he will be able to rearrange the columns using the same columnchooser option. Once the user has done the configuration he can export the grid as it is to excel.
I have managed to do everything. But only problem i am facing is the column order. My Grid's column model will have the same order as grid columns order or i have to find out the order?
If i have to find the order of columns, how can we do that?