nested sortable table rows jquery
- by FLY
Hi,
I am trying to sort rows of a table, and put them as 'child' elements of a table row
I found this: http://code.google.com/p/nestedsortables/ this works with ul li lists, but i want to build it for a table.
<table>
<thead>
<th>tablehead</th>
</thead>
<tbody>
<tr><td>somevalue</td></tr>
<tr><td>somevalue2</td></tr>
</tbody>
</table>
so yeah you can use jquery.sortable() and sort the rows, but i want 'somevalue' to be become a child element of 'somevalue2' if you drag 'somevalue' over 'somevalue2'
I don't know if it is posible with a table.
can anyone help me?
Thnx!