1

I am working on columns drag nad drop its working fine and the new order is also saved in the database but when i again opens the page it shows the pervious order so, how cani achive this. Thanks in advance

Ankit
  • 41
  • 6

1 Answers1

1

You can save remapColumns parameter of jqGrid and use the remapColumns method to restore the order of the columns. I recommend you to read the ansewer with the demo which show how to do this by saving the information in the localStorage. You can do the same, but save the information in the database.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798