<h2>Problem with DataGrid Filter Row and dynamic hide/show a column</h2>
<div class="demo-info" style="margin-bottom:10px">
<div class="demo-tip icon-tip"> </div>
<div>This sample shows a problem with easyui datagrid and row filter of datagrid.<p> When hide or show a column the filter columns layout is not correct. <strong> To Test toggle between hide and show column</strong></div>
</div>
<div class="easyui-panel" style="width:100%; height:400px; padding:12px;">
<div class="easyui-layout" data-options="fit:true">
<div data-options="region:'center', border:false">
<table id="dg"></table>
</div>
<div data-options="region:'south', split:false, border:false" style="padding:12px;">
<a id="btnHideRow" href="javascript:hideColumn();" class="easyui-linkbutton" data-options="iconCls:'icon-ok', plain:false">hide Column</a>
<a id="btnShowRow" href="javascript:showColumn();" class="easyui-linkbutton" data-options="iconCls:'icon-ok', plain:false">show Column</a>
</div>
</div>
</div>