dmk99 / react-pdf-table

Storybook Available
https://dmk99.github.io/react-pdf-table
MIT License
152 stars 62 forks source link

TableHeader not rendering on the next page #20

Closed muriwai-cd closed 4 years ago

muriwai-cd commented 4 years ago

Is there a way of rendering the TableHeader on the following pages

dmk99 commented 4 years ago

Unfortunately table headers are not carried across pages. The way that i recommend handling this scenario is to determine how many rows generally appear on a page and then batch up the rows. I've personally found for a landscape page that it can fit around 20-30 rows using the default styling.

Then render a new page (with a table) for each batch.