Replies: 2   Views: 3209
Delete a row in word template
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 irxn84  · 22-04-2014 - 14:38


is there any way to delete a row from a table in a Word Template?

I tried deleteTemplateBlock, but I only can delete the content of the row, but not the row itself.

Best regards,


Posted by jorgelj  · 23-04-2014 - 09:04


Sorry but the current version of PHPDocX doesn't allow to remove a full row, only the content.



Since the release of phpdocx 6, DOCXPath is recommended to accomplish this task.