I'm essentially looking for advice on how todo this, if anyones every done it before and so on...
Okay so I have a list, when creating the `order` field is set to 0, I have a ton of rows with order as 0.
I display this list, and then next to it I want to have the ability to move things up and down.
Obviously some sort of loop to update things before and above the item pressed to be moved up or down is going to happen, but the idea of giving them all a start number is confusing and to then manage there order.
I was thinking, maybe upon insertion it should look at last row (by order) and +1 onto that order field in the new row...however for now I have tons of rows with no number...







Bookmarks