Welcome Guest Search | Active Topics | Sign In | Register

unwanted page break in table when using tfoot or thead Options
Exameron
Posted: Tuesday, April 1, 2014 6:50:10 PM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2012
Posts: 55
In order to get a repeating table row on each page, I've added a tfoot to the table. This works well, however, as a consequence, it now starts the table at the beginning of a new page. Instead, I need it to just continue from the last part of the current page.

Ideas? Thanks!
eo_support
Posted: Tuesday, April 1, 2014 8:00:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

that does not make sense. It should only move the table to the next page if there is not enough room on the current page for the table header (if you have one), the table footer, and the first row (so that you don't have an empty table header + table footer with no real data row). If you have enough space on the current page, then it should split the table so that part of table shows on the current page and what's left moves to the next page. If that's not what you see, please try to create a test HTML snippet to duplicate the problem, we will then try to run it here to see what we can find.

Thanks!
Exameron
Posted: Tuesday, April 1, 2014 8:25:10 PM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2012
Posts: 55
I've simplified what I'm trying to do and have narrowed the issue down.

If the table has a lot of content and spans multiple pages, it will do a page break before the start of the table. If it's shorter, then it will render in the correct place. If I remove the tfoot, then it works as expected.

ideas?
Exameron
Posted: Tuesday, April 1, 2014 10:15:26 PM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2012
Posts: 55
solved it. It didn't like the large table cell length. If I add an empty line first (<tr><td>&nbsp;</td></tr>), then add the line with the loooong content, it works as expected.
eo_support
Posted: Wednesday, April 2, 2014 3:24:32 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Thanks for the update. We are not able to reproduce this problem. If you can post the HTML that's causing the problem, we will be happy to look into it to see what we can find.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.