Removing headings in tfoot when using column filtering

Removing headings in tfoot when using column filtering

nickdavies791nickdavies791 Posts: 2Questions: 2Answers: 0

I've got a table like:

<table id="dataTable" class="...">
<thead>
....
</thead>
<tbody>
....
</tbody>
<tfoot>
    <tr>
        <th>Name</th>
        <th>Tag</th>
        <th>Category</th>
    </tr>
</tfoot>
</table>

I'm using the column filter from this example: https://datatables.net/manual/api#Example---column-filter

The column filtering works perfectly but the footer headings appear above the select boxes, like https://screenshots.firefox.com/zBwp7cP6CpWbs7wn/asset-manager.ngrok.io

Is there any way of removing them? Without sticking them in a span tag and using CSS to hide.

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.