THEAD
dataTablesで2行を操作することは可能ですか?
<table>
<thead>
## row 1
## row 2
</thead>
<tbody></tbody>
</table>
行1には、2つの単一列と1つの列が必要ですcolspan="3"
。
<tr>
<th></th>
<th></th>
<th colspan="3"></th>
</tr>
そして、行2には5つの列が必要です。
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
しかし、5列ではなく、3列しか必要ない場合があります。
これは動的に生成できますか?
更新:試しました:http://datatables.net/release-datatables/examples/basic_init/complex_header.html
しかし、それがどのように生成されるかについての良い例はありません。