[reportlab-users] Why isn't my really wide table splitting?

Matthew Wilson matt at tplus1.com
Mon Nov 24 18:33:21 EST 2008


I want my really wide table to wrap, but instead, it just runs off the
edge of the PDF.

This is how I'm building it:

from reportlab.platypus import Table, SimpleDocTemplate
row = range(1, 101)
data = [row, row, row]
doc = SimpleDocTemplate('x.pdf')
doc.build([Table(data)])

And when I look at the PDF, it doesn't wrap. Instead, I just see the middle.

What am I doing wrong?

--
Matthew Wilson
matt at tplus1.com
http://tplus1.com


More information about the reportlab-users mailing list