I try to use jQuery DataTables plugin, but it fails with message c is undefined on line 256 (in the minified version).
My table looks like this:
<table class="datatable">
<thead>
<th>
<td>name</td>
<td colspan="3">actions</td>
</th>
</thead>
<tbody>
<tr>
<td>Foo</td>
<td>Detail</td>
<td>Edit</td>
<td>Remove</td>
</tr>
</tbody>
</table>
I bind the plugin like this:
$(document).ready(function() {
$('.datatable').DataTable({
responsive: true
});
});
colspanin the header, see this example. The only requirement that each column must have at least one unique cell.colspanis not supported is incorrect, this attribute is supported but you need to have another row with one cell per column.