We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to insert page break inside tables?

Thread ID:

Created:

Updated:

Platform:

Replies:

125277 Aug 4,2016 03:14 PM UTC Aug 8,2016 05:18 AM UTC Windows Forms 3
loading
Tags: DocIO
A
Asked On August 4, 2016 03:14 PM UTC

I have a table consisting of 10 rows and I want to insert some page break symbols in it so the result would be multiple tables in different pages.

I tried to use the AppendBreak method of the paragraph. Seems that it does not work when the paragraph is inside a table.

There are two other properties ParagraphFormat.PageBreakBefore and ParagraphFormat.PageBreakAfter that do not add the page break symbol though they break the same table across pages.

Priyanga Elangovan [Syncfusion]
Replied On August 5, 2016 12:09 PM UTC

Hi Customer, 

Thank you for contacting Syncfusion support.

In MS Word, if you insert the page break into the paragraph preserved inside the table cell then it will splits the current row along with it following rows as a new table and append one paragraph with page break item in-between the two tables. Currently DocIO preserves the page break as a child items of paragraph preserved in the table cell and it does not possible to split the table rows while inserting the page break into the paragraph preserved inside the table cell using DocIO.


As a work around, we have a prepared a sample to meet your requirement as equivalent to MS Word using DocIO. Please find the sample from below link. Try running this sample and let us know if this helps you.

Sample link:
http://www.syncfusion.com/downloads/support/forum/125277/ze/TableSample627068209.zip

Regards, 
Priyanga.E
 


A
Replied On August 5, 2016 03:54 PM UTC

Hi Priyanga,

The workaround you suggested (creating a new table for each row) works.

Thanks

Priyanga Elangovan [Syncfusion]
Replied On August 8, 2016 05:18 AM UTC

Hi Customer,

Thank you for your update. Please let us know if you have any other questions. We will be happy to assist you as always.


Regards,
Priyanga.E
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;