[reportlab-users] How to make a table with rows longer than one page in raportlab
robin at reportlab.com
Mon Jan 7 08:05:28 EST 2019
we have never supported splitting cells so there's no obvious answer. Simple strings will just overflow across the page if you
have fixed width columns, but simple strings allow you to count the number of lines. You can put Paragraphs into tables and then
they will wrap lines so avoiding the simple split code. However we don't have an answer for the case when even wrapped lines
overflow the page (or frame height).
On 05/01/2019 10:58, Lea Kaminski wrote:
> Hi guys,
> thank you a million times for the last answer. They worked very well. Now i got a new porblem.
> I have a table, where the rows are somethimes longer than one page, and then the programm crashes. I found some kind of solution on stack overflow (https://stackoverflow.com/questions/3297115/python-reportlab-rml-how-to-split-table-row-on-two-pages)
> , which i am not able do integrate in my code the right way.
> I would be really glad if someone of you know a solution how i could fix the problem.
> Below the code:
> from reportlab.lib.pagesizes import A4
> from reportlab.lib.pagesizes import letter, cm
More information about the reportlab-users