>>Sorry to say, but drag-and-drop doesn''t work for table rows
because
>>of browser limitations. No workarounds for this.
not really a table-workaround, per se, but I got a table-like appearance by
including styled <span> elements inside the <li>
entries. Here''s a sort of trivial example from playing around with
Sortables:
<style type="text/css">
.name {
width: 120px;
height: 16px;
padding-left: 3px;
border: 1px solid black;
overflow: none;
clip: rectangle;
}
.phone { width: 100px;
height: 16px;
padding-left: 3px;
border: 1px solid black;
overflow: none;
clip: rectangle;
}
... etc.........
</style>
... (in body) ...
<ul id="list1">
<li id="I1">
<span class="name" >Jones, John</span>
<span class="phone">5557779999</span>
<span class="email">jones@x.org</span>
</li>
<li id="l2">
<span class="name">Smith, John</span>
<span class="phone">5557774444</span>
<span class="email">smith@x.org</span>
</li>
</ul>
... etc ...
add the sortable declarations to the <ul>''s, play around with the
stylesheet, and it LOOKS to the user like a table.
code to generate the <li>''s is analagous to and no more complex
than building table rows/cell entries.
Hope this helped.
Wyzyrd
<:)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050722/5d6350ab/attachment.html