Forum


Replies: 4   Views: 4137
Addtable(): column width not respected
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 ludalex  · 13-01-2014 - 20:47

When I set my table created with addTable() to have specific column widths with 'size_col' in global table parameters and even setting every single cell width to the same value used globally with the 'width' propriety, this settings are not respected in Word.



I create many tables using the same settings and each one has different column widths, depending on the text conformation in their cells.



These are the column widths in Word: (they are the exact same of the ones I set in in addTable(), but they don't really reflect the width proprierty because of the issue I explained before)




Posted by ludalex  · 13-01-2014 - 20:52