ClosedXML.Report
ClosedXML.Report copied to clipboard
Why some row have different height
I have a report that has 3 simple tables.
The result is fine but some of the rows have different height ( as row 9 and 14). What could be the cause of this issue. Thanks, John
Hello. Here is asked the same question. https://github.com/ClosedXML/ClosedXML.Report/issues/252
I know what the problem is, but I don’t have time to fix it yet. The fact is that the height of the header of one of the tables is somehow not reset and spreads to other rows. Try removing the fixed width for headers in the template.
I have the same problem.
I was looking for some solution.
It is also necessary to set the height of the moved lines at the end of the sheet.
Something like this in RangeTemplate.cs:
It works for me, but I don't know if the calculations are correct. I can't spend more time on this.