Re: Splitting tables with repeated ROWBACKGROUNDS

"Axel P. Kielhorn" <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>

> Am 22.03.2020 um 08:01 schrieb Axel P. Kielhorn <[email protected]>:
> 
> 
> In the meantime I implemented my suggestion from yesterday and added an empty column with a span.
> It works in the test case.

And I have to correct myself:

I want to add the span to the Table, not the TableStyle.

bt = Table(bdata, repeatRows=2, colWidths=(None, None, 0))
bt.setStyle(TableStyleLD)

for i in range(0, len(Data), 2):
    bt.setStyle([('SPAN', (-1, i), (-1, i+1))])

Greetings
Axel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.