html table:
<table id="mytable">
<tr>
<th rowspan="2"><input type="checkbox" id="selectAll"></th>
<th rowspan="2">1</th>
<th rowspan="2">2</th>
<th colspan="3">3</th>
<th colspan="3">4</th>
</tr>
<tr>
<th>x</th>
<th>y</th>
<th>z</th>
<th>x</th>
<th>y</th>
<th>z</th>
</tr>
</table>
//其他行通过js中的appendto动态添加
<table id="mytable">
<tr>