I have two tables which are next to each other. Here is a short example of template:
<table id="table1">
<tbody>
<tr>
<td>a1</td>
<td>a1</td>
</tr>
<tr>
<td>b1</td>
<td>b1</td>
</tr>
</tbody>
</table>
<table id="table2">
<tbody>
<tr>
<td>a2</td>
<td>a2</td>
</tr>
<tr>
<td>b2</td>
<td>b2/td>
</tr>
</tbody>
</table>
So it looks like that:
|a1|a1|a2|a2|
|b1|b1|b2|b2|
My goal is to use sortable jquery-ui feature to sort by drag and drop rows of both tables in the same time. In other words - when user clicks for example cell from tabel1 then the whole row
|a1|a1|a2|a2|
should be draged and then droped while mouse up. I don't need to drag and drop rows between two tables - I need rows from two tables to be treated as one row while dragging - if this rows have the same position Y in its table.
Actually, the use case is that I have grid where I need to implement drag and drop rows. User can freeze some columns of the grid - then there are 2 tables- one for freezed columns and one for unfreezed - so there is actually one row but divided into 2 table. Here is an example of grid: https://www.igniteui.com/grid/column-fixing