Forum


Replies: 4   Views: 6107
How to add a table with repeating headers
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 jorgelj  · 16-01-2014 - 09:57

Hello,



Using the addTable method you can do that.



This is the phpdoc:



* @param array $rowProperties (array) a cero based array. Each entry is an array with keys and values:

     *      'cantSplit' (boolean)

     *      'minHeight' (int) in twentieths of a point

     *      'height' (int) in twentieths of a point

     *      'tblHeader' (boolean) if true this row repeats at the beguinning of each new page



You need to use tblHeader method.



Regards.