Is there a way to NOT repeat Column headers at the bottom of Datatable
Is there a way to NOT repeat Column headers at the bottom of Datatable
I would like column headers to only display once at the top of the table like in this example:
http://datatables.net/blog/Creating_beautiful_and_functional_tables_with_DataTables
Most examples have them at the top and the bottom like here:
http://datatables.net/release-datatables/examples/basic_init/zero_config.html
Sorry if I may be overlooking something that has been shown else where. I looked at the docs and I am unable to get a clear understanding of how to do this.
Here is my current styling:
"sPaginationType", "full_numbers",
"sDom", "TCrti<\"clear\">pR",
"bAutoWidth", "true",
"sPageButtonActive", "fg-button,",
"bJQueryUI" ,"true"
http://datatables.net/blog/Creating_beautiful_and_functional_tables_with_DataTables
Most examples have them at the top and the bottom like here:
http://datatables.net/release-datatables/examples/basic_init/zero_config.html
Sorry if I may be overlooking something that has been shown else where. I looked at the docs and I am unable to get a clear understanding of how to do this.
Here is my current styling:
"sPaginationType", "full_numbers",
"sDom", "TCrti<\"clear\">pR",
"bAutoWidth", "true",
"sPageButtonActive", "fg-button,",
"bJQueryUI" ,"true"
This discussion has been closed.
Replies
Allan
have you tried this?
Dennis
Not through sDom no, but as Dennis suggests just manipulate the DOM like you would with any plain HTML table - specifically remove the TFOOT element using jQuery / DOM methods.
Allan