marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 544 forks source link

How can I make sure table header section should have at least one row. #689

Open vinodhreddygs opened 2 years ago

vinodhreddygs commented 2 years ago

Hi,

I have a scenario where some times table header section is end up in one page and rows are end up in another page. How can I move header section to next page page if there is no space available for at least one row in the same page( to avoid breaking the header in separate page)? Please check the below screen shot for the reference : image

Thanks in advance.