我有这个html表结构
<thead>
<tr>
<th rowspan="2">Type</th>
<th rowspan="2">Name</th>
<th rowspan="2">Iteration ID</th>
<th colspan="2">Script</th>
<th rowspan="2">Action</th>
</tr>
<tr>
<th>Init</th>
<th>Post</th>
</tr>
</thead>
以及它的样子
但应该是:
$(document).ready(function () {
var table = new Tabulator("#table-test", {});
});
添加codepen参考 codepen.io/paulch/pen/MzQYjg