How to save row ordering?
How to save row ordering?
sunnyWind
Posts: 3Questions: 1Answers: 0
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.
This discussion has been closed.
Answers
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
Thank you!
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
That mean it won't help solve my problem.