<table id="dg" class="easyui-datagrid"
style="width: auto; height: 450px"
rownumbers="true" pagination="true"
data-options="iconCls: 'icon-edit', singleSelect: true,toolbar: '#tb', pagination : true,collapsible:true,onLoadSuccess :displayMsg,onDblClickRow:append  ">
<thead data-options="frozen:true">
<tr>
<th data-options="field:'userId',align:'center',checkbox:true">
</th>
<th data-options="field:'userName',width:120,align:'center',sortable:true">
账号
</th>
<th data-options="field:'userNickName',width:120,align:'center',sortable:true">
昵称
</th>
<th data-options="field:'userEmail',width:120,align:'center'">
邮箱
</th>
<th data-options="field:'userStatus',width:120,align:'center'">
状态
</th>
</tr>
</thead>
<thead>
<tr>
<th
data-options="field:'userLLoginIp',width:120,align:'center'">
最后登录IP
</th>
<th
data-options="field:'userLLoginTime',width:100,align:'center'">
最后登录时间
</th>
<th
data-options="field:'userLoginAttemptTimes',width:100,align:'center'">
登录次数
</th>
<th data-options="field:'userCreateBy',width:250,align:'center'">
创建人
</th>
</tr>
</thead>
</table>easyui 排序 Jquery