There are a few ways to prevent header overlapping in the second page when using a big table in jsPDF:
Use the setPage()
method to create a new page before the table starts so that the header is not overlapping with the table.
Use the addPage()
method to add a new page in between the pages with the header and the table.
Use the rect()
method to draw a rectangle around the header and table so that they are separated visually.
Use the height()
method to set the height of the table to prevent it from overlapping with the header.
Use the table()
method to create a table with pagination and headers that are repeated on each page.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-16 12:42:37 +0000
Seen: 9 times
Last updated: May 16 '23
How can I prevent the LeafletJS page from jumping when a layer is clicked?
How to ensure a page break when creating Velocity HTML resumes?
What is the method to remove a particular page from the directory layout of a NextJS 13 application?
What is the reason that my controller is providing an HTML page instead of JSON?
What causes elements to move on the page during page loading through transitions?
What does the HTTP 404 error message mean?
Is it impossible to navigate to a specific page in AppSync List Query Pagination?
How can I create a page that includes all the required details using React JS?