I just found a comment on the scriptaculous wiki and got the table dnd
example _kinda_ working

http://wiki.script.aculo.us/scriptaculous/show/Sortable.create


<table>
<tbody id="thetbody">
        <tr><td>handle 1</td><td>foo</td></tr>
        <tr><td>handle 2</td><td>bar</td></tr>
        <tr><td>handle 3</td><td>baz</td></tr>
</tbody>
</table>

<script type="text/javascript">
MochiKit.Sortable.Sortable.create('thetbody',{tag:'tr'});
</script>

You can view an example here:

http://fungsin.is-a-geek.org/pub/mochikit/examples/dnd_sortable/sortable_test1.html

However, a big problem is that the drag and drop action is very
unintuitive (compare the table dnd with the list dnd).

First, there is no ghosting like the list dnd so that the user dont
know that dnd is in action.

There's no visual clue like the list dnd where elements are _pushed_ up
or down when you drag your target over them.

Lastly, in IE the row being dragged will become blank until you drop
it.

If anyone has an idea of what went wrong I'd greatly appreciate!

-- fungsin


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to