Desired effect: rows (tr) with class do-not-sort excluded from containment using jQuery.sortable.
Current code: (containment: 'parent'/containment: '.sortable-body')
<table>
<thead>
<tr>
<th>Field 1</th>
<th>Field 2</th>
</tr>
</thead>
<tbody class="sortable-body">
<tr>
<td>Sortable Field 1</td>
<td>Sortable Field 2</td>
</tr>
<tr>
<td>Sortable Field 1</td>
<td>Sortable Field 2</td>
</tr>
<tr class="do-not-sort">
<td colspan="2"><a href="#">Add Row</a></td>
</tr>
</tbody>
</table>
How can I exclude the 'do-not-sort' row at the end (!) of a tbody from the containment? The following didn't work:
containment: '.sortable-body tr:not(.menu-rij-toevoegen)'