header1 header2 header1 header2 header1 header2
val1 val2 val1 val2 val1 val2
val1 val2 val1 val2 val1 val2
val1 val2 val1 val2 val1 val2
val1 val2 val1 val2 val1 val2
.... .... ...
How would one go about accomplishing such a structure?
Thanks,
Bill
_______________________________________________
reportlab-users mailing list
reportl...@lists2.reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users
this is actually quite hard. We don't support columnWise splitting of tables,
but this can be considered as ordinary row wise splitting.
Conceptually you will need to have a repeat row count that contains the header
row(s). Then conceptually you need to do the following in a flowable
1) when the table is about to be drawn a) decide whether there's enough room on
the current [age to make it sensible. If not issue a page throw and defer.
2) switch the PageTemplate to a three column layout.
3) issue the table in the three frame layout.
4) switch back to two column or full width layout.
I believe this could all be done in the platypus doctemplate framework by using
existing flowables eg Table and DocIf which can be used to program the framework
inside the story.
I don't have an example to hand, but if you prod me over the next week (when we
have a bunch of holidays) I will try and set one up.
--
Robin Becker
I will try to figure this out, and see what I can come up with... I may
contact you in a few days if I'm having trouble!
Bill
I have been having trouble figuring this out, and would much appreciate
some kind of code outline about how I go about doing this.
Thank you!
Regards
Elan Noy