react-pdf-html icon indicating copy to clipboard operation
react-pdf-html copied to clipboard

Table Headings not repeated in new page

Open suhealpasha opened this issue 3 years ago • 3 comments

I tested using tag for repeating headers in every page but it is not working. Can someone help?

suhealpasha avatar Aug 24 '22 10:08 suhealpasha

what's the tag for repeating headers in every page?

danomatic avatar Aug 24 '22 22:08 danomatic

for e.g: `

Nameid
xyz1
xyz2
xyz3
xyz4
xyz5
xyz6
xyz7
xyz8
xyz9
xyz10
xyz11
xyz12
xyz13
xyz14
xyz15
` I want to repeat headers in everypage of pdf.

suhealpasha avatar Aug 25 '22 04:08 suhealpasha

I'm not totally sure how to do this. The html translation isn't aware of page breaks because the html is created before being handed to the react-pdf renderer. There could be a way to add fixed to the table heading View in react-pdf, but then it would be on every page even if the table has finished rendering.

danomatic avatar Aug 25 '22 22:08 danomatic