fixedHeader.disable()
Disable the fixed elements.
Please note - this property requires the FixedHeader extension for DataTables.
Description
This method can be used to disable the table's fixed elements (i.e. header and footer). This can be useful if you wish to show and hide the table (see also fixedHeader.adjust()
) or otherwise manipulate the table in its original state.
Type
function fixedHeader.disable()
- Description:
Disable the fixed elements. When disabled, the table will remain static, regardless of end user scrolling.
- Returns:
The DataTables API for chaining
Example
Disable the FixedHeader:
var table = new DataTable('#myTable');
table.fixedHeader.disable();
Related
The following options are directly related and may also be useful in your application development.