-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page break within a table component #2730
Comments
Having the same problem here. Any update on this? |
@mpsbhat Page with tables are pretty tricky in this library and don't break rows has uncovered edge cases. I've personally not had a lot of success with Other notes on quirks:
What's could be happening is that the second column is getting rendered, then page-break, then the left column but since it's "bigger than one page" it renders a whole extra page. Try putting spaces in and another header row after the page break and see if it works for you.
Here's my workaround for reference. |
@olafur-palsson Namaste, As mentioned in my comment itself, the code works even if there is no space in the case of Screenshots attached for reference. |
I have the same, or similar, issue. The pageBreak 'after' inserts an empty row under the header of each subsequent page (page 1 is ok). This in turn results in an extra page at the end of the document which just has the header and a very thin empty row. I have confirmed that the data structure pushed to 'dd' does not contain extra empty rows. |
Namaste,
I'm checking some conditions to have a pagebreak within a table after a particular row count. Below is a sample code for the reference.
In the above sample when i comment
headerRows: 1,
in table definition then it breaks the table to next page as expected. But whenheaderRows: 1,
is enabled then there is an extra blank page appends soon after breaking the table to next page. Any possibilities to handle this case to avoid the extra blank page?The text was updated successfully, but these errors were encountered: