HTML -> PDF. How can I render an unknown number of empty rows, from the last row with data until reach footer? you can see the issue here. The issue is that sometimes rows in the data part will be single-row, sometimes multi-row. My tries:
- in razor @for(int i = 0; i < 70; i++) {...} - and try to crop rows that go to next page with "overflow-y:hidden"
- setting "height:auto" for the last row (without for loop), so it can fit remaining space, and then set background (that will look like alternated rows) for that row
- https://www.evopdf.com/demo/HTML_to_PDF/Headers_and_Footers/Header_Footer_Auto_Resize.aspx. In this try alternated lines were part of the footer, so I try to dynamically adjust its height