How to save row ordering?

How to save row ordering?

sunnyWindsunnyWind Posts: 3Questions: 1Answers: 0
edited July 2018 in Free community support

Hello all

How to save row ordering? I use rowReorder.
I reorder rows in my table. And I want to see my ordering after page reload.
And each user have own ordering.

Can I do this? Thank you.

Answers

  • kthorngrenkthorngren Posts: 21,301Questions: 26Answers: 4,946

    Do you want to save this temporarily? Maybe stateSave would work.

    Do you want to store this permanently in your database? You wold need to store the order of your row order sequence column in the database on a per user basis. Then retrieve it along with your table data when Datatables initializes.

    Kevin

  • sunnyWindsunnyWind Posts: 3Questions: 1Answers: 0

    Thank you!
    But stateSave doesn't work for me.

  • kthorngrenkthorngren Posts: 21,301Questions: 26Answers: 4,946

    But stateSave doesn't work for me.

    Does that mean it won't help solve your problem or is there an issue with using stateSave? Not sure if you are asking for help with stateSave.

    Kevin

  • sunnyWindsunnyWind Posts: 3Questions: 1Answers: 0

    That mean it won't help solve my problem.

This discussion has been closed.