Forum


Replies: 2   Views: 3730
Set cols with when using addtable()
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 admin  · 18-02-2015 - 15:42

Hello, Please run the included example Core/addTable/sample_2.php and check the output. It generates a table with three columns with different sizes. And check too the samples_3.php in the same folder. Note the 'width' attribute in the col value, maybe you need to set it to avoid that the content increases the col size. Regards.