Hi guys! Is it possible to use a replaceTableVariable and repeat row as many times as i want (the number of rows is connected with my data array)?
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it nowHi guys! Is it possible to use a replaceTableVariable and repeat row as many times as i want (the number of rows is connected with my data array)?
Hello,
Using replaceTableVariable you can clone and replace rows as detailed on the documentation pages and the included samples: https://www.phpdocx.com/api-documentation/templates/replace-table-variable-Word-document. This is using placeholders to set the values to be added when changing the template.
To clone rows without using replaceTableVariable you can use cloneWordContent, available in Advanced and Premium licenses since the release of phpdocx 6.5.
We recommend you to check documentation and the samples of both methods,
Regards.