[reportlab-users] Table not drawn
Simone Dalmasso
simone.dalmasso at gmail.com
Tue Jun 9 05:16:34 EDT 2009
Hi list, I'm trying to draw a table on a document. This is part of my code:
* canv = canvas.Canvas(response,pagesize = A4)*
* data = [['Hello'],['World']]
t = Table(data,10 * cm,5 * cm)
w,h = t.wrap(10 * cm,5 * cm)
t.drawOn(canv,A4[0],A4[1])
canv.showPage()
canv.save()*
The document is created but unfortunately it's empty. Using a simple string
instead of a table it works.
Have you any advices?
Thanks a lot.
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090609/94ede5a4/attachment.html>
More information about the reportlab-users
mailing list