easy ui and jquery-ui resize conflict
The resize function of the easy-ui datagrid is not working properly when importing jquery-ui library
HTML
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/icon.css">
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/demo/demo.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<table id="dg" title="My Users" class="easyui-datagrid" style="width:700px;height:250px"
toolbar="#toolbar" pagination="true"
rownumbers="true" fitColumns="true" singleSelect="true">
<thead>
<tr>
<th field="firstname" width="50" resizable="false">First Name</th>
<th field="lastname" width="50" resizable="false">Last Name</th>
<th field="phone" width="50" resizable="false">Phone</th>
<th field="email" width="50" resizable="false">Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>Foo</td><td>Bar</td><td>111222333</td><td>foo.bar@gmail.com</td>
</tr>
</tbody>
</table>
<div id="toolbar">
<a href="javascript:;" onclick="openDialog()">Open Dialog</a>
</div>
<div id="dialog" class="easyui-dialog" title="Action" style="width:317px;height:260px" data-options="
modal:true,
closed:true,
buttons:[{
text:'Cancel',
iconCls:'icon-cancel',
handler:function(){
$('#dialog').dialog('close');
}
}]
">
<form>
<fieldset>
<label for="comment" style="display: block;margin: 2px;">Comments:</label>
<textarea id="comments" class="text ui-widget-content ui-corner-all" style="margin: 2px; height: 114px; width: 184px;"></textarea>
</fieldset>
</form>
</div>
JavaScript
function openDialog(){
$('#dialog').dialog('open');
}