Move Up/Down Database rows

Hi Everyone,

I have a table that displays database table records and sorts them using a Position field.
I want to add two button Up and Down and when Up is clicked the corresponding row is moved up with the Position updated (Position + 1) while the row that was previously up gets it Position updated (Position - 1). Any help/guidance is greatly appreciated.
Thanks!

Hey @Moustapha,

Please watch that video

Hi @famousmag. I watched the tutorial and followed every step and it is working perfectly.
Thank you very much!!!

1 Like