JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet" />
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<div id="divResize" style="width:100px;height:100px;background-color:blue;"></div>
<table id="tblResize1">
<thead>
<tr>
<th width="100px">a</th>
<th width="100px">b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
</tr>
</tbody>
</table>
<table id="tblResize2">
<thead>
<tr>
<th width="100px">a</th>
<th width="100px">b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
</tr>
</tbody>
</table>
CSS
thead th {
border: 1px solid black;
font-weight: bold;
}
JavaScript
$("#divResize").resizable();
$("#tblResize1").resizable();
$("#tblResize2 th").resizable();