[reportlab-users] How to Draw Hierarchical tables (1 to many)

Remy Pinsonnault remy_pinsonnault at roche.ca
Tue Dec 7 10:15:52 EST 2004


Hi everyone,

I am a newbie with Reportlab and I am trying to do a hierchical table like
the following example. I have no problem getting the data (from Oracle
queries) but in fact I don't know how to draw the table, which library to
use, etc.

All of my columns have fixed width. Is there anyone that can point me how to
do it or better, provide me with a code example :)

Thanks

NAME         -- ID       -- DATE
--------------------------------------
KERRY, JOHN  -- ID 12345 -- 2004/12/12 
    ID -- TITLE
    ---------------------------
    1  -- HELLO AMERICA 1
    2  -- HELLO AMERICA 2

BUSH, GEORGE -- ID 12346 -- 2004/12/11
    ---------------------------
    1  -- MASSIVE DESTRUCTION 1
    2  -- TERRORISM 2

Etc.



More information about the reportlab-users mailing list