[reportlab-users] Creating Column Headers for each page using Platypus Tables

William Dode reportlab-users@reportlab.com
06 Dec 2002 23:53:00 +0100

"Robert Krieg" <robertk@STCG.net> writes:

> Hello All,
> I am writing a python program using the reportLab modules that connects
> to an SQL database, returns results from the users query, then outputs
> results to a .pdf file using Platypus tables.py and the Platypus
> simpleDocTemplate implementation method.  This process works
> beautifully.  The only caveat I am experiencing is the output of Column
> Header info.  As it is, the platypus table method only inserts these
> column header values in the first row of the table on the first page.  I
> am looking to have these Column Header values display in the first row
> of all pages.  I am having some difficulty with this as I am unsure how
> to know at which point the table information will "flow" to the
> subsequent pages.  Does anyone have an idea how I might approach this
> requirement.  Any input is graciously received.  Thanks.  Rob    

you must use the Table arg : repeatRows=1

William Dode - http://wikipython.tuxfamily.org