Thanks for your help. In looking at this, the way my columns are created dynamically so now I'm not sure I can use a CSS div 3 column layout approach since each list item is being created dynamically.
Here's my code: <table width="350"> <ul id='pending_todo_list'> <tr> <% @pending_todos.each_with_index do |item, i| -%> <% domid = "todo_#{item.id}" %> <td width="33%"><li class="pending_todo" id='<%= domid %>'><%= item.name %></li></td> <%= draggable_element(domid, :ghosting=>true, :revert=>true) %> <%= "</tr><tr>" if 2 == i.modulo(3) -%> <% end %> </tr> </ul> </table> Before I start down that path and get to a dead end, any thoughts? On Apr 24, 1:51 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > There's definitely something in the docs about Sortables and tables, > in that you can make it work pretty well if you code out your table > with a thead and tbody, and then take care to move only TRs around. > But what I was thinking for your problem was that you could simply > make your "table" out of a UL, each LI of which would contain a set > of sized, floated DIVs. Make sure you also float your LI so the child > elements don't peek out of the bottom and start crashing into one > another, and you should be good. It's a lot more code, even with > classnames to indicate the columns, but at least your D&D will work > as intended. > > Walter > > On Apr 24, 2008, at 2:36 PM, Justin Perkins wrote: > > > > > On Thu, Apr 24, 2008 at 1:30 PM, jdalton > > <[EMAIL PROTECTED]> wrote: > >> I can't find it in the docs now, but I seem to remember that > >> dragables > >> and tablers didnt mix well. > > > I would not expect them to. Just thinking about how all that code > > would work makes my brain hurt. > > > Draggables would great with block-level elements. > > > -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---