Forum


Replies: 3   Views: 3313
Html in table
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 llouis  · 02-02-2012 - 16:15

I saw your example where it's possible to replace a tag by HTML in template with a table including this tag.

But I would like to know if it's possible to create dynamically a table (with an undefined number of rows) and adding HTML content in some cells.
I notice it's possible to add in a table, different types of content, like a link for example, with the function addElement.But I don't know if it's possible for HTML content. It seems that the function addElement doesn't accept HTML content type.
Or is there another way ?

Kind regards