JEASY UI MENUBUTTON DATAGRID ISSUE
HTML
<script src="http://jeasyui.com/demo/datagrid/datagrid_data1.json?_.js"></script>
<h1>This is broken:</h1>
<a href="#" class="easyui-menubutton" data-options="menu:'#mm3'">Datagrid under menubutton</a>
<div id="mm3" class="menu-content" style="background:#f0f0f0;padding:10px;text-align:left" data-options="
onShow:function(){
$('#dg').datagrid('resize');
}
">
<table id="dg" class="easyui-datagrid" style="width:500px;height:200px" data-options="url:'http://jeasyui.com/demo/datagrid/datagrid_data1.json?_.js'">
<thead>
<tr>
<th data-options="field:'itemid',width:80">Item ID</th>
<th data-options="field:'productid',width:100">Product</th>
<th data-options="field:'listprice',width:80,align:'right'">List Price</th>
<th data-options="field:'unitcost',width:80,align:'right'">Unit Cost</th>
<th data-options="field:'attr1',width:250">Attribute</th>
<th data-options="field:'status',width:60,align:'center'">Status</th>
</tr>
</thead>
</table>
</div>
<hr>
<h1>This works:</h1>
<table id="dg2" class="easyui-datagrid" style="width:500px;height:200px" data-options="url:'http://jeasyui.com/demo/datagrid/datagrid_data1.json?_.js'">
<thead>
<tr>
<th data-options="field:'itemid',width:80">Item ID</th>
<th data-options="field:'productid',width:100">Product</th>
<th data-options="field:'listprice',width:80,align:'right'">List Price</th>
<th data-options="field:'unitcost',width:80,align:'right'">Unit Cost</th>
<th data-options="field:'attr1',width:250">Attribute</th>
<th data-options="field:'status',width:60,align:'center'">Status</th>
</tr>
</thead>
</table>
CSS
</style>
<link rel="stylesheet" type="text/css" href="http://jeasyui.com/easyui/themes/default/easyui.css">
<script type="text/javascript" src="http://jeasyui.com/easyui/jquery.easyui.min.js"></script>
<style type='text/css'>