Forum


Replies: 8   Views: 3275
How to add a table with different column sizes (column widths)?
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 gadeshi  · 29-06-2011 - 12:16

How to add a table with different column sizes (column widths)?
I cannot find this in the docs, this is absent in the site documents area as well...
Can anyone point me to the doc on this feature?

Posted by thetaylor82  · 11-04-2013 - 12:13

I'd like to know how to do this too. I tried creating the string separated by comma's for each column but this does not work. ie, '1200,2800'

Posted by admin  · 11-04-2013 - 12:13

Hello,

The next version of phpdocx pro will add this feature.

Regards.

Posted by thetaylor82  · 11-04-2013 - 12:13

Do you have a date for the next update?

Posted by admin  · 11-04-2013 - 12:13

Hello,

On first of september will be released the new version of phpdocx.

Regards.

Posted by jadeglobal  · 11-04-2013 - 12:13

Still waiting! Its mid September! Need this functionality badly!!!

Posted by admin  · 11-04-2013 - 12:13

Hello,

It's available on phpdocx pro 2.4, there's an example included. Please check easy/Table_size_cols.php file.

Regards. Jorge.

Posted by oqapi  · 11-04-2013 - 12:13

Hi,

I ran the example, but the texts are nog centered, while the code says they should. How can I center some columns?

Regards,
Joeri