jQuery limit sortable to parent table row
<p>So I have a table which has several categories, with several items underneath in each category.</p>

<p>Something like:  </p>

<pre><code> &lt;tr&gt;  
 &lt;td&gt;Category1&lt;/td&gt;  
 &lt;/tr&gt;  
 &lt;tr&gt;  
   &lt;td&gt;Item1&lt;td&gt;  
 &lt;/tr&gt;  
 &lt;tr&gt;  
   &lt;td&gt;Item2&lt;/td&gt;  
 &lt;/tr&gt;  
 &lt;tr&gt;  
   &lt;td&gt;Item3&lt;/td&gt;  
 &lt;/tr&gt;  
 &lt;tr&gt;  
   &lt;td&gt;Category2&lt;/td&gt;  
 &lt;/tr&gt;  
 &lt;tr&gt;  
   &lt;td&gt;item1&lt;/td&gt;  
 &lt;/tr&gt;
</code></pre>

<p>I want to be able to sort each "item" within its category only. So "item1" inside "category2" should not be able to be dragged to "category1". Not really sure how to accomplish this.</p>
