View Full Version : Drag and drop photos with interpreting position

25 Jan 2011, 3:16 AM
Hi Guys,

I'd appreciate a hint in a metter if it is possible that I present a bunch of photos and I can drag and drop then in order to set up expected order of them and save it?

For example: 3 photos (in order):
1. Cat
2. Dog
3. Duck

I d'n'd to order 1. Dog 2. Duck 3. Cat
Save it, send to server and this is my new saved order.

25 Jan 2011, 3:22 AM
We did this with DataView and sortable plugin from here: http://www.sencha.com/forum/showthread.php?33857-Sortable-Plugin-for-DataView

You can make your custom component from this. We used it to manage photos: upload, sort and delete.

30 Jan 2011, 6:57 AM
Cheers redzioch, that's what I needed to know :]