I just read through 
http://wiki.script.aculo.us/scriptaculous/show/Sortable.create,
and there is some important note about tables but also a very good
hint.

Just wrap a <tbody> around your <tr>'s and use the id of the tbody for
sorting.

schneimi schrieb:
> I had the same problem and ended up in using a nested table inside a
> ul, but I don't like it very much.
>
> I found out that there is a tag option which can be used like $ajax-
> >sortable('sortable_table', array('tag' => 'tr')) but it didn't work
> as well.
>
> On 24 Okt., 20:25, Corie <[EMAIL PROTECTED]> wrote:
> > I have a table in which I want to sort the rows by using the drag and
> > drop methods of $ajax->sortable, but it's not working. Are table rows
> > even draggable, or do I have to make a nested table inside a ul?


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

Reply via email to