Forum


Replies: 1   Views: 1954
How do i make table full width?
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 meverett  · 31-08-2021 - 13:51

I copied and pasted the code example here: https://www.phpdocx.com/api-documentation/word-content/add-table-Word-document-with-PHP and the table generated had a column width of .0001 inches in Google Docs and Microsoft Word by default. I am using the trial version. Is there something I need to do to make tables span the full width of the page? I believe that is the intended behavior for tables but it is not happening for me 

Edit: I removed the columnWidths option so that is not what was stopping it from going full width