How to repeat <th> with Pisa (xhtml2pdf)
I am creating a PDF from HTML using Pisa. The pisa documentation (section 11.3) states that you can repeat the line "You can repeat the rows of the table if the page break occurs inside the table. The number of repeating rows is passed in the attribute repeat." Their sample code is:
<table repeat="1">>
<tr><th>Column 1</th><th>...</th></tr>
...
</table>
My code
<table repeat="1" width="100%">
<tr>
<th align='left'>name</th>
<th align='right'>text</th>
</tr>
<tr><td colspan=2>
<table>
<tr><td>stuff</td></tr>
</table>
</td></tr>
...
</table>
Any ideas as to why the first <tr> doesn't repeat when the page breaks?
+3