Adding pagebreaks in a single table

Adding pagebreaks in a single table

Forum member · Mar 3, 2010
Is there an easy fix to add page breaks in a single table that overflows to multiple pages?

Re: Adding pagebreaks in a single table

Support · Mar 3, 2010
Hello, There is no method to break a table using our product. However you can do this by resetting height of the table. The table will be added to the page in the height given and the remaining rows can be taken as overflow using the GetOverfloRows method of the table object. You can reset the height so that it breaks at that height and takes the overflow. You can refer to the Table Continuation topic on our help documentation. Thanks, ceTe Software Support Team.

Re: Adding pagebreaks in a single table

Forum member · Mar 3, 2010
Does your product recognizes the page break if they are written in two seperate tables. I mean after the completion of first table there's a page break then it continues in new page with 2nd table.

Re: Adding pagebreaks in a single table

Support · Mar 3, 2010
Hello, There is no specific page break element in our product which you can be added to a table or a page. You can create a new page object and add the elements to it whenever you need a new page. After adding the first table you will have to create a new page object and add the second table to it. Thanks, ceTe Software Support Team.

Re: Adding pagebreaks in a single table

Forum member · Mar 3, 2010
Will there be any page break elements for single table or any number of tables or just the text in your future versions?

Re: Adding pagebreaks in a single table

Support · Mar 3, 2010
Hello, There is a PageBreak element in the ReportWriter product, you will have to add it in designer. This takes care of forced breaks. When using Generator you will be having full control on creating pages and breaking tables. So there is no need of a page break element. The table element can break and you can get the overflow rows. You can add these overflow rows to a new page. This can be done in a loop until you have the overflow rows in the table. Whenever you want a page break, you can create a new page object and add it to the PDF. You can create pages when you need. You will have to write your logic for adding new pages or for table breaks using our elements and objects. You can refer to the table overflow topic on our help documentation which shows taking the overflow rows to another new page. Thanks, ceTe Software Support Team.

Re: Adding pagebreaks in a single table

Forum member · Mar 4, 2010
Thanks, I already did this by re-creating table and re-creating new page wherever i needed pagebreaks. Thanks for your support as well.