多表头
通常遇到的都是单表头,也就是表头只有一行,如下图所示:
但在实际中我们遇到的不仅仅是单表头,可能遇到多表头,也就是要进行单元格的行和列进行合并,如下图所示:
多表头代码设置
多表头设置代码如下
<div style="width:100%;" data-options="region:'center',title:'入职培训信息',iconCls:'icon-ok'">
<table id="ddg1" class="easyui-datagrid"
data-options="
url:'/entrytrain_info',
method:'get',
border:false,
singleSelect:true,
fit:true,
collapsible:false,
pagination:true,
pageSize:25,
pageList:[25,15,10],
fitColumns:true">
<thead>
<tr>
<th data-options="rowspan:2,field:'tno&