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

Jean-Yves F. Barbier 12ukwn at gmail.com
Wed Feb 1 07:39:43 EST 2012


On Wed, 1 Feb 2012 12:21:43 +0000
Andy Robinson <andy at reportlab.com> wrote:


> 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,


Ohhh, that was part of my conclusion after adding some print into
platypus/tables.py, but I was working on the contrary (trying to
remove a list level:(

Thanks Andy.

JY
--


More information about the reportlab-users mailing list