fixedHeader.header
Since: FixedHeader 3.0.0
Enable / disable fixed header.
Please note - this property requires the FixedHeader extension for DataTables.
Description
This parameter simply provides the ability to enable or disable the fixed header aspect of the FixedHeader extension. When enabled the table's header will be sticky, so it will always be visible while the end user scrolls through a DataTables.
Type
Default
- Value:
true
Example
Disable the header, but enable footer:
new DataTable('#myTable', {
fixedHeader: {
header: false,
footer: true
}
});