[reportlab-users] can't get table of tables

Andy Robinson andy at reportlab.com
Wed Feb 1 07:21:43 EST 2012


On 1 February 2012 11:09, Jean-Yves F. Barbier <12ukwn at gmail.com> wrote:

>        recapR8.append( [ dum, crt, crn, crv, ntpt, ntpc, ntpv ] )

>        R8 = Table( recapR8, 1*[ 1.5*cm,

>                                 1.7*cm, 0.6*cm, 2.7*cm,

>                                 4.6*cm, 0.6*cm, 2.0*cm ], 1*[ 3.5*mm ] )


You passed in a list to the table constructor, not a list of lists.

If you want a one-row table, try...

Table( [recapR8], 1*[ 1.5*cm,
etc

- Andy


More information about the reportlab-users mailing list