Larry White
2006-Mar-29 21:54 UTC
[Rails] can you do drag and drop sorting with multiple lists?
Has anyone extended drag and drop sorting to work with multiple lists? I''m looking for something like this Best Roles for actors (in order of preference): Mary Bill Jane (actors/actresses) The Queen Joker 1st Angel Beggar woman Chief of guards Dog Catcher 2nd thief Fortune Teller And I want to be able to drag the role of The Queen both within Mary''s list and over to Jane''s list. The first thing I noticed is that by default you can''t drag things horizontally. Can this be overcome? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060329/f9c1ac35/attachment-0001.html
Martin Scheffler
2006-Mar-29 23:17 UTC
[Rails] Re: can you do drag and drop sorting with multiple lists?
Sortable.create("queen_div", { containment:["queen_div", "joker_div", "angel_div"], constraint:false } ); repeat 2 times -- Posted via http://www.ruby-forum.com/.
Larry White
2006-Mar-30 11:45 UTC
[Rails] Re: can you do drag and drop sorting with multiple lists?
thank you. Can''t wait to try it. On 3/29/06, Martin Scheffler <wooyay@web.de> wrote:> > Sortable.create("queen_div", { > containment:["queen_div", "joker_div", "angel_div"], > constraint:false > } > ); > > repeat 2 times > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060330/fdbe4fd8/attachment-0001.html