I am using the DataTables plugin (www.datatables.net) 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.
Simple add the style
display:none
inline style to your thead tag.Just add this to your css:
I know the question is pretty old, but I searched for it today and found another solution ...
In your js / coffee file:
Pure JS variant:
Why don't you simply hide them through css (i think datatables requires a thead section to work)?
fiddle here: http://jsfiddle.net/LhZF3/