WKHTMLTOPDF - Allow page break in table row -


i'm running wkhtmltopdf 0.12.2.1 (with patched qt) on ubuntu server , can generate pdfs fine. i've been using wkhtmltopdf generate table several columns , 1 of columns has lot of text.

my problem this: want table rows able span multiple pages without leaving white space before/after row. wkhtmltopdf of work me, leaves unwanted white space before row if row has lots of text because wkthmltopdf tries keep entire row on 1 page.

for example, page might half way full of table when wkhtmltopdf encounters row take 3/4 of page 1 row. wkthmltopdf leaves bottom half of first page empty , starts long row on next page. i'd have happen that wkhtmltopdf starts long row on first page, , finishes long row on next page.

how can this?

i've thought using divs , spans, need table borders still show up, seems using table best option. advice?

after thinking on issue, seems best thing change format of report use divs , spans rather use table. i've gone ahead , done , seems work now.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -