EasyUI Forum
September 14, 2025, 04:42:15 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: why my datagrid is loaded 2 times  (Read 9344 times)
crosemffet
Jr. Member
**
Posts: 68



View Profile WWW Email
« 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,

Logged
heru
Newbie
*
Posts: 12


View Profile
« Reply #1 on: January 06, 2013, 08:49:12 PM »

remove css in your table definition and your datagrid won't loaded 2 times again  Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!