1
我想用2列和3行在html中创建一个表格,但是如果我们从其角落拖动鼠标,它应该调整大小。如何在鼠标拖动时调整大小的html表格?
我想用2列和3行在html中创建一个表格,但是如果我们从其角落拖动鼠标,它应该调整大小。如何在鼠标拖动时调整大小的html表格?
使用colResizable,一个jquery plugin to resize html tables and columns
例如HTML
<table id="sample">
<tr> <td>cell</td> <td>cell</td> <td>cell</td> </tr>
</table>
例如JS:
$("#sample").colResizable({liveDrag:true});