DataTables TableTools and DataTables FixedHeader

This Extension has been retired and is now outdated!
This combined Extension for DataTables TableTools and DataTables FixedHeader is now deprecated. The modern replacement for the DataTables TableTools Extension, the DataTables Buttons Extension, and the updated version of the DataTables FixedHeader Extension are now compatible and can be used together without problems. This combined Extension will therefore no longer receive updates. Please don’t use it for new projects and switch to the new and updated Extensions instead!
This is a Premium Extension for TablePress. Supporting and developing it is a lot of work.
To allow me to offer Extensions in the future, please consider a donation. Thank you.

The DataTables TableTools are an add-on for the DataTables JavaScript library, that is already used in TablePress for the sorting, filtering, and pagination functionality. This add-on can add even more functions to a table, like “Copy to Clipboard”, “Save to PDF”, “Save to Excel”, “Save to CSV”, and a “Print View”.

The DataTables JavaScript library also has a FixedHeader plugin that ensures that column titles will remain always visible on a table, even when a user scrolls down a table. This is very useful for long tables, where the head row will then be fixed at the top of the browser window.

To use these two add-ons in your tables at the same time, download, install, and activate this Extension like a regular WordPress plugin. Then change your table’s Shortcode from something like

[table id=123 /]

to

[table id=123 datatables_tabletools_fixedheader="true" /]

To influence where the content shall be fixed, extend the Shortcode to

[table id=123 datatables_tabletools_fixedheader="true" datatables_tabletools_fixedheader_headers="top" /]

The value “top” indicates, that the head row shall be fixed. Other possible values are “bottom” for the foot row, and “left” and “right” for the left and right columns. These can also be combined, as a comma separated list. For example, “top,bottom” would fix the table head and the table foot row.

Top