-
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
Cell margin overwrites the footer #1006
Comments
Please add simple example of docDefinition for reproduce this problem. |
The doc I made looks something like this:
|
I have encountered this problem recently and found the following thread #241 where @jthoenes explains that the footer exists outside the margins. Hope you find it helpful |
@JInfantesC Thank you! But I'm not sure this will help. No matter how thick/thin your bottom margin is, there will always be an awkward spot where the table looks like it's overlapping the footer. Using
Your fix would work if I had a fixed amount of data. However, I am working mostly with a dynamic set of data, so I never know exactly at what point the table will stop in a page. |
I see, i've tried now padding and looks like it is respected more than margin.
on the table like this:
I deleted every cell margin because padding will do the work. On the playground it worked... P.S. I fixed the left and right to 2 for aesthetic reasons. |
In my table, each row is a stack and its margin is set to [15,10,15,10]. When the bottom border of a row touches the bottom boundary of the page, the top margin of the next row is rendered inside the footer, which makes that row's content rendered in the next page without the top margin. Looks something like this:
I've tried enabling dontBreakRow, but the type of data I'm using is unorthodox, as data in 1 row could be longer than 1 page, which breaks the row and not rendering it at all.
Any solution for this?
The text was updated successfully, but these errors were encountered: