HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › How Split a Table Header In Each Page › Re: Re: How Split a Table Header In Each Page
April 28, 2011 at 02:21
#28217
I have the following CSS and table html
tr.noBreakCell{
page-break-inside:avoid;
}
header 1 | header 2 | header 3 | header 4 |
---|---|---|---|
cell 1 | cell 2 | cell 3 | cell 4 |
cell 1 | cell 2 | cell 3 | cell 4 |
cell 1 | cell 2 | cell 3 | cell 4 |
I have a number of tr row with class = noBreakCell, I found that when I not use:
pd4mlObj.enableSmartTableSplit(true);
the table is break while row does not break inside, this is fine.
But I try to have the table header repeat on different page, it turns out that the whole table is being moved to the next page instead of splitting into multiple page, did I use anything wrongly?