I´m creating a template (for a PDF report) using a docx document.
I have the table Inspections and the table Boxes (on each inspection, the inspector can inspect 0 or more boxes).
What I need is to create a table in the template and add as many columns as boxes where inspected.
I see that this dynamic behavior is possible for rows, but I didn´t find how to do it for columns.
The table should looks like this:
Of couse, in this example I added 5 boxes, but if the quantity of boxes inspected were 3, it should have only 3 columns (BOX 1, BOX 2 and BOX 3).