Hello,
did anyone manage to create PDFs with long tables that extend over several pages and have a table header on every new page?
I tried
thead {display: table-header-group;}
And on this page someone mentioned that for Flying Saucer this had to be added:
table { -fs-table-paginate: paginate; }
I tried PDF exports with both but nothing happened. When I create a PDF with the print function of the browser it works though.
Did anyone find an answer to this? I'm stuck trying to get repeating headers for our tables in our PDF Exports from Confluence 5.4.
Has anyone been successful at getting table headers to repeat? Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also still interested (but also pretty certain that it doesn't work). Just tried again with .wiki-content .table-wrap .confluenceTable thead { display: table-header-group; } .wiki-content .table-wrap table { -fs-table-paginate: paginate; }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, the heading of the table is surrounded by a <thead> element and the header cells are <th>. But when I add the "display: table-header-group" to any of these element it has no effect.
I suppose it is not working with flying saucer. But proof of the opposite would be more than welcome.
@Sean: The following sentence I do not understand. Is there a word missing perhaps?
If so does the markup use a and elements?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.