[reportlab-users] Dynamic Tables

Brandon Rich brich at caseta.com
Mon Jan 7 10:38:33 EST 2008


Hope this helps a little...

I am hoping to create an invoice template that can be used over and over
repeatable. I was looking around online, and found that the flowable
element paragraph can accept certain XML tags. I have yet to see an
example of the <table> tag being one of them. Is there an example of
this anywhere that you know of?

Thanks

Brandon

-----Original Message-----
From: reportlab-users-bounces at reportlab.com
[mailto:reportlab-users-bounces at reportlab.com] On Behalf Of Tim Roberts
Sent: Friday, January 04, 2008 12:58 PM
To: Support list for users of Reportlab software
Subject: Re: [reportlab-users] Dynamic Tables

Brandon Rich wrote:

>

> I am trying to create dynamic tables based on information retrieved

> from the DB. All the information that I have found thus far has

> static tables created with hard coded information. Question, is there



> a way to create this table that you are aware of? I have searched

> around on the web for answers but have yet to find anything.

>


I'm not sure what you mean. There's really no such thing as a "static
table". The Table class just takes strings. You can send string
constants, or you can send your data as a string. There's no difference

in usage. You just build up a list of lists and hand it to the Table
class constructor.

Perhaps you could post an example of what you are looking for.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
reportlab-users mailing list
reportlab-users at reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users


More information about the reportlab-users mailing list