Forum


Replies: 12   Views: 382
Column removal
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 fairshareitservices  · 22-05-2024 - 05:36

Thank you for your response. Can you please elaborate on how to use custom query 'To remove columns in a table you need to remove the cells (w:tc tag) of the rows (w:tr tag) in the specific position (1, 2...). In this case you need to use a custom XPath query. Can we remove the column after the generation of the table I know the Column Headings for which I need to remove the columns if the whole column contains a certain value like 'NA'.