SharpDocx icon indicating copy to clipboard operation
SharpDocx copied to clipboard

Table in Table not working

Open Int32Overflow opened this issue 4 years ago • 4 comments

I have created a table in an outer table. Unfortunately, in this case AppendRow(); does not work properly in the child table.

Word-File: grafik

What is generated: grafik

What I expect: grafik

Int32Overflow avatar Feb 15 '21 22:02 Int32Overflow

@Int32Overflow i have the exact same problem, have you find a way to go around that ?

Anthony-Michel avatar Mar 09 '22 05:03 Anthony-Michel

No I have not found a solution or a work around.🥺

Int32Overflow avatar Mar 09 '22 06:03 Int32Overflow

Thx for the prompt answer ! For information the issue seems to be around the behaviour of the <%AppendRow();%> function when it is placed in a table loop, just after an inner loop.

My inner loop does not create an inner table, just loop and display text in 1 row of the table.

Removing the {! on main loop to generate multiple tables fails in the same way if <%AppendRow();%> is set, but it works fine without AppendRow

Anthony-Michel avatar Mar 09 '22 07:03 Anthony-Michel