Jump to content

Building a ordering system for a todo list.


hellonoko

Recommended Posts

I am building a todo list.

 

Each item on the todo list has an up arrow and down arrow.

 

When the user clicks the up or down arrow I want the ranking value of that todo list item to change so that the use can change the order of the items in the list.

 

I have been working on a system but it is not working very well.

 

Does anyone have a good idea for how to do this?

 

Thanks for your time,

ian

That is basically what I have come up with. But run into some issues when the ranks are out of order in the DB once they start moving around.

 

1 3 2 4 5 etc. was hoping id be lucky enough to find an implementation of it to take a look at.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.