EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: crosemffet on December 19, 2012, 08:51:02 AM



Title: why my datagrid is loaded 2 times
Post by: crosemffet on December 19, 2012, 08:51:02 AM
the following code:
<table class="easyui-datagrid"  id="augrid" title="xx" data-options="fitColumns:true,singleSelect:false,pageSize:100,autoRowHeight:false">
    <thead>
        <tr>
            <th data-options="field:'calldate',width:40" formatter="formatShortDate">calldate</th>
            <th data-options="field:'uname',width:200">uname</th>
        </tr> 
    </thead> 
</table>

then:
$('#augrid').datagrid({
   url: 'jq-ajaxJson.php'
})

when I check my jq-ajaxJson.php page, it's loaded 2 times.
any reason..?
am I making something wrong...?
thanks in advance.
regards,



Title: Re: why my datagrid is loaded 2 times
Post by: heru on January 06, 2013, 08:49:12 PM
remove css in your table definition and your datagrid won't loaded 2 times again  :)