How to reorder table rows (drag-and-drop) along with their sub rows
- by Eirik Johansen
I have a table which looks like this (simplified for the example):
<table>
<tr class="lvl_1">
<td>
Level 1
</td>
</tr>
<tr class="lvl_2">
<td>
Level 2
</td>
</tr>
<tr class="lvl_3">
<td>
Level 3
</td>
</tr>
<tr class="lvl_1">
…