rownumbers 设置之后,行号,和行有时候无法对齐,出现bug
easyui吧
全部回复
仅看楼主
level 1
nmkl1234 楼主
代码
<table id="dg" class="easyui-datagrid" title="员工列表"
data-options="fit:true,
fitColumns:true,
rownumbers:true,
url:'/employee/datagrid',
toolbar:'#tb',
pagination:true">
<thead>
<tr>
<th data-options="field:'headImage',width:'8%',align:'center',formatter:formatterHeadImage">头像</th>
<th data-options="field:'username',width:'12%',align:'center'">用户名</th>
<th data-options="field:'password',width:'30%',align:'center'">密码</th>
<th data-options="field:'email',width:'30%',align:'center'">邮箱</th>
<th data-options="field:'age',width:'10%',align:'center'">年龄</th>
<th data-options="field:'department',width:'10%',align:'center',formatter:formatterDepartment">部门</th>
</tr>
</thead>
</table>
2019年06月29日 11点06分 1
level 1
nmkl1234 楼主
2019年06月29日 12点06分 2
level 1
nmkl1234 楼主
有时候刷新一下,或者是点击其他页面,又会显示正常
有没有大牛看看
2019年06月29日 12点06分 3
1