mydoghasworms mydoghasworms -4 years ago 249
jQuery Question

How to supress table headers completely in jQuery DataTables?

I am using the DataTables plugin ( for jQuery to display tables on a web page.

After reading through the documentation and doing some searches, I am unable to find out how to completely suppress or hide table headers, using the DataTables options or API.

Answer Source

Why don't you simply hide them through css (i think datatables requires a thead section to work)?

.dataTables_wrapper table thead{

fiddle here:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download