Hello all,
I have this in an rhtml file:
<div id="wrap">
<div id="header">Header</div>
<div id="nav">Nav</div>
<div id="main">
<div id="nice_table">
<ul>
<li>From</li>
<li>Subject</li>
<li>Date</li>
</ul>
<% @message.each { |message| %>
<ul>
<li><%= message.from %></li>
<li><%= message.subject %></li>
<li><%= message.date %></li>
</ul>
<%}%>
</div>
</div>
<div id="sidebar">Sidebar</div>
<div id="footer">footer</div>
</div>
The ul and li have css styles of display:table-row and
display:table-cell. I''ve constructed it this way as I know that there
is now support for drag-drop for tables in scriptaculous. Can someone
please point out how I can drag rows so that I can put them in a trash
can for example, and to drag columns so that I can resort the order?
If I can do only one or the other, then dragging to a trash can trumps
sorting the columns.
Thanks for you help.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---