Hello,
I have to build a table with JavaScript within a foreach-Loop, with header, body and footer.
For tables with max 10 entries, everything is ok. But when the table should make a page-break, it does not do it.
Also when the table should flow to the next page, the page-break is not recognized, and the table is written over the header of the next page.
I know that the detailed table would do this automatically, but in this situation i can not use the detailed table.
What can I do to force a page break within the table?
Many thanks
N.Becker
Little trickā¦
Add a dynamic table on your section and look at the code it generates on the source tab.
Then use that as an example to build your own. Most likely there are some HTML tag you neglect to use. What you will build will be a dynamic table. If not, no overflow can occur as the pagination process will not see it as a dynamic table, and do nothing.
Thanks for your answer,
the table is now build with the special attributes in the table, tr, td tags, but there are no page-break.
I have attached the script as file: BuildDynamicTable.txt (8.9 KB)
Which tag could be missing to generate the page-break, or have I something other missing?
Many thanks
N.Becker
Message m in private the whole Template and Datamodel so I can see the result and go from there.
Sending the template would be no problem, but the datamapper is getting all the data direct from the DB, through a database-Datamapper. So I have no easy possibility to get the data extracted to local.
Then I suggest you open a technical support ticket via our website. This way, a technician will remote in, look at your setup and provide with directives / guidelines to achieve your goal.