react-pdf-html
react-pdf-html copied to clipboard
Table Headings not repeated in new page
I tested using tag for repeating headers in every page but it is not working. Can someone help?
what's the tag for repeating headers in every page?
for e.g: `
| Name | id |
|---|---|
| xyz | 1 |
| xyz | 2 |
| xyz | 3 |
| xyz | 4 |
| xyz | 5 |
| xyz | 6 |
| xyz | 7 |
| xyz | 8 |
| xyz | 9 |
| xyz | 10 |
| xyz | 11 |
| xyz | 12 |
| xyz | 13 |
| xyz | 14 |
| xyz | 15 |
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.