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. Image for the cookie policy date
close icon

PdfLightTable Page Breaks in Middle of Row

How can I prevent a pdflighttable from having a page break in the middle of a row? I'm using a datatable as a datasource, and I never know how many pages the lighttable will span.

I've tried PdfLayoutBreakType.FitPage in the PdfLightTableLayoutFormat. Also using PdfLayoutType.Paginate.

Thanks!


5 Replies

GM Geetha M Syncfusion Team November 8, 2011 05:43 AM UTC

Hi Stephanie,

Thank you for your interest in Syncfusion products.

By default, rows exceeding current page will split across pages and the remaining portion would be drawn in the next page. If you intend to move the entire row to the next page, you need to set "AllowRowBreakAcrossPages" property as false.

I have placed a simple sample in the following link:
F101607.zip

Please try this and let me know if you have any questions.

Regards,
Geetha



SP Stephanie Pfefferkorn November 22, 2011 02:54 PM UTC

That did the trick, many thanks!



GM Geetha M Syncfusion Team November 23, 2011 03:44 AM UTC

Hi Stephanie,

Thank you for the update.

Please let me know if you have any questions.

Regards,
Geetha



GK Gowthamraj Kumar Syncfusion Team February 28, 2022 12:59 PM UTC

Hi Robert, 


Please let us know if you need any other details on this.  

Regards, 
Gowthamraj K 



RH Robert Harutyunyan February 28, 2022 02:58 PM UTC

I can not open the sample, can you halp me with this?



Loader.
Live Chat Icon For mobile
Up arrow icon