OptionalgroupOptionalhtmlOptionalprintOptionalprintThe HTML table will contain column header groups, row groups, and column calculations.
You can choose to remove any of these from the output data by setting the values in the printConfig option in the table definition
OptionalprintYou can use the printFooter table setup option to define a footer to be displayed when the table is printed.
OptionalprintThe printFormatter table setup option allows you to carry out any manipulation of the print output before it is displayed to the user for printing.
OptionalprintYou can use the printHeader table setup option to define a header to be displayed when the table is printed.
OptionalprintBy default, only the rows currently visible in the Tabulator will be added to the HTML table. For custom row ranges it is also possible to pass a function into the printRowRange option that should return an array of Row Components
OptionalprintIf you want your printed table to be styled to match your Tabulator you can set the printCopyStyle to true, this will copy key layout styling to the printed table.
By Default when a page is printed that includes a Tabulator it will be rendered on the page exactly as the table is drawn. While this ise useful in most cases, some users prefer to have more control over the print output, for example showing all rows of the table, instead of just those visible with the current position of the scroll bar.
Tabulator provides a print styling mode that will replace the Tabulator with an HTML table for the printout giving you much more control over the look and feel of the table for the print out., to enable this mode, set the printAsHtml option to true in the table constructor.
This will replace the table (in print outs only) with a simple HTML table with the class tabulator-print-table that you can use to style the table in any way you like.
It also has the benefit that because it is an HTML table, if it causes a page break your browser will automatically add the column headers in at the top of the next page.