[reportlab-users] Nesting table inside of another table cell
William Hudspeth
bhudspeth at edac.unm.edu
Wed Apr 13 16:02:11 EDT 2011
Hello,
The ReportLab User Guide suggests that one can nest complete tables
inside of another table's cells. I have built a table with a data
sequence as below:
data=[[var1,var2],[var1,var2]]
t=Table(data)
I need to build another table for each data record that displays
additional information that is associated with that record. The
additional information is derived from a separate database query
restricted to the given record. The additional information must be
displayed below each data record in a layout something like below:
Record 1
State: NM Country:USA
ID Weight ID Weight
1 14.3 5 12.5
2 11.2 6 34.5
3 23.4 7 23.1
4 11.2 8 22.9
Record 2
State: CA Country:USA
ID Weight ID Weight
1 55.3 5 62.5
2 17.2 6 3.5
3 43.4 7 29.2
4 17.1 8 33.4
Any help on table nesting and layout would be appreciated...
Thanks, Bill
More information about the reportlab-users
mailing list