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.
when I use addTemplateVariable to update table with $VARIABLE$. Everything works fine, but table width changed. e.g I add table which alligned left and half of page width. After populating data, table width increased to 100% equal to page width. How do i fix it.
I'm not sure, but it sounds like your table is using Autofit to Contents. That automatically resizes the columns to best fit the contents. Instead, uou want a Fixed column width. One way to do that is specify Preferred Width for Table and Column in table Properties.
thanx buddy it resolve my problem.