EasyUI_Datagrid 加行号后行号高度错位
2017-01-17 11:52
465 查看
onLoadSuccess:function(data){setBtnStyle(data);
$('#dg').datagrid('fixRowHeight')
}
<!-- 数据列表 -->
<table id="dg" class="easyui-datagrid" title="地市报表" toolbar="#tb" fitColumns='false' style='height:auto;'
data-options="method: 'post',
url: '${pageContext.request.contextPath }/localSalesReports/findList',
pagination: 'true',
pagePosition: 'bottom',
pageNumber: 1,
pageSize: '20',
fit: 'true',
fixed: 'true',
rownumbers: 'true',
loadMsg: '加载中,请稍后..',
onLoadSuccess:function(data){setBtnStyle(data);
$('#dg').datagrid('fixRowHeight')
}
">
<thead>
<!-- <th data-options="width:100, align:'center', field:'companyNumber'">分公司编号</th> -->
<th data-options="width:120, field:'companyName'">分公司名称</th>
<th data-options="width:100, align:'center', field:'countyCount'" >区县数量</th>
<th data-options="width:120, align:'center', field:'managerNumber'" >销售经理数量</th>
<th data-options="width:120, align:'center', field:'merchantsNumber'">商户数量</th>
<th data-options="width:120, align:'center', field:'orderNumber'" >订单数量(笔)</th>
<th data-options="width:120, align:'center', field:'orderPrice',formatter: function(value,row,index){return convertData('orderPrice',value,row,index);}">订单总金额(元)</th>
<!-- <th data-options="width:120, align:'center', field:'trafficPacket'" >流量包总额(M)</th> -->
<th data-options="width:120, align:'center', field:'companyDividedInto',formatter: function(value,row,index){return
convertData('companyDividedInto',value,row,index);}">销售经理分成(元)</th>
<th data-options="width:120, align:'center', field:'merchantsDividedInto',formatter: function(value,row,index){return
convertData('merchantsDividedInto',value,row,index);}">商户分成(元)</th>
<th data-options="width:200, align:'center', field:'操作', formatter: function(value,row,index){return convertData('action', value,row,index);}">操作</th>
</thead>
</table>
$('#dg').datagrid('fixRowHeight')
}
<!-- 数据列表 -->
<table id="dg" class="easyui-datagrid" title="地市报表" toolbar="#tb" fitColumns='false' style='height:auto;'
data-options="method: 'post',
url: '${pageContext.request.contextPath }/localSalesReports/findList',
pagination: 'true',
pagePosition: 'bottom',
pageNumber: 1,
pageSize: '20',
fit: 'true',
fixed: 'true',
rownumbers: 'true',
loadMsg: '加载中,请稍后..',
onLoadSuccess:function(data){setBtnStyle(data);
$('#dg').datagrid('fixRowHeight')
}
">
<thead>
<!-- <th data-options="width:100, align:'center', field:'companyNumber'">分公司编号</th> -->
<th data-options="width:120, field:'companyName'">分公司名称</th>
<th data-options="width:100, align:'center', field:'countyCount'" >区县数量</th>
<th data-options="width:120, align:'center', field:'managerNumber'" >销售经理数量</th>
<th data-options="width:120, align:'center', field:'merchantsNumber'">商户数量</th>
<th data-options="width:120, align:'center', field:'orderNumber'" >订单数量(笔)</th>
<th data-options="width:120, align:'center', field:'orderPrice',formatter: function(value,row,index){return convertData('orderPrice',value,row,index);}">订单总金额(元)</th>
<!-- <th data-options="width:120, align:'center', field:'trafficPacket'" >流量包总额(M)</th> -->
<th data-options="width:120, align:'center', field:'companyDividedInto',formatter: function(value,row,index){return
convertData('companyDividedInto',value,row,index);}">销售经理分成(元)</th>
<th data-options="width:120, align:'center', field:'merchantsDividedInto',formatter: function(value,row,index){return
convertData('merchantsDividedInto',value,row,index);}">商户分成(元)</th>
<th data-options="width:200, align:'center', field:'操作', formatter: function(value,row,index){return convertData('action', value,row,index);}">操作</th>
</thead>
</table>
相关文章推荐
- EasyUI_Datagrid 加行号后行号高度错位
- EasyUI_Datagrid 加行号后行号高度错位
- EasyUI_Datagrid 加行号后行号高度错位
- EasyUI_Datagrid 加行号后行号高度错位
- EasyUI datagrid : 启用行号、固定列及多级表头后,头部行号位置单元格错位的问题
- EasyUI datagrid : 启用行号、固定列及多级表头后,头部行号位置单元格错位的问题
- easyui在datagrid用formatter添加linkbutton后列表和行号错位
- EasyUI datagrid 左侧行号出现错位
- easyui datagrid-detailview 嵌套高度自适应
- easyUI中datagrid的高度获取
- easyui datagrid 行号超过三位数显示不全
- 控制EasyUI DataGrid高度
- easyui datagrid 宽度高度自适应
- Easyui DataGrid中增加行号显示
- Easyui Datagrid的Rownumber行号显示问题
- EasyUI中iframe嵌入页面,包含datagrid数据动态绑定,页面内容的高度自适应问题
- easyui datagrid高度自适应问题
- easyUI的datagrid行号隐藏
- Easyui Datagrid rownumbers行号四位、五位显示不完全的解决办法
- easyui datagrid添加行时让高度自适应