[reportlab-users] Sample code for repeating table headers/footers?

Adrian Klaver aklaver at comcast.net
Sat Feb 21 13:00:07 EST 2009


On Saturday 21 February 2009 9:44:18 am Dinu Gherman wrote:

> Hi,

>

> I cannot find any sample code for repeating header/footer rows

> in tables? I would be very glad if somebody could point me to

> such existing code or even post something like that here, since

> neither the RL User Guide nor the test suite seem to contain

> such a code samples.

>

> Thanks,

>

> Dinu

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users


For a header row, straight from the User Guide. Repeats the first row passed to
the Table(), in this case the data in dList.
tbl = Table(dList,style=TBL_STYLE,colWidths=COL_WIDTHS,repeatRows=1)

I have yet to find a footer equivalent for a table.

--
Adrian Klaver
aklaver at comcast.net


More information about the reportlab-users mailing list