easyui datagrid 多表头设置 合并
Posted Daryll
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了easyui datagrid 多表头设置 合并相关的知识,希望对你有一定的参考价值。
$(‘#text‘).datagrid({
border : 2,
nowrap : false,
fit : true,
url: ‘<%=request.getContextPath()%>/report/showreport.action‘,
frozenColumns: [[
{ title: ‘区域名称‘, field: ‘regionname‘, width: 80, sortable: true}
]],
columns: [
[{"title":"人员管理","colspan":3},
{"title":"资料管理","colspan":3}],
[{"field":"uname0","title":"姓名类似于李","rowspan":1},
{"field":"config_gender1","title":"性别等于女","rowspan":1},
{"field":"config_gender2","title":"性别等于男","rowspan":1},
{"field":"config_datatype0","title":"资料类别等于视频资料","rowspan":1},
{"field":"config_datatype1","title":"资料类别等于图片资料","rowspan":1},
{"field":"config_datatype2","title":"资料类别等于文件资料","rowspan":1}]],
rownumbers: true
});
以上是关于easyui datagrid 多表头设置 合并的主要内容,如果未能解决你的问题,请参考以下文章