Forum


Replies: 1   Views: 3058
Is there a way to tell if my table carries to the next page?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by besmithinc  · 17-03-2015 - 17:29

I am making a table for my client, and if the table happens to break to the next page, they want the table headers to carry to the next page. I'm not sure how to tell if something breaks to the next page, or if its possible?

Posted by admin  · 18-03-2015 - 08:41

Hello, If you're using the addTable method, you can set tableHeader as true. If this option is true and the table splits across pages, this row repeats at the beginning of each new page. Regards.