How to Repeat Table Column Headings over Page Breaks in PDF output from ReportLab

前端 未结 5 1848
死守一世寂寞
死守一世寂寞 2021-02-07 06:42

I\'m using ReportLab to write tables in PDF documents and am very pleased with the results (despite not having a total grasp on flowables just yet).

However, I have not

5条回答
  •  借酒劲吻你
    2021-02-07 07:30

    From the documentation (yes, I know, but it's sometimes hard to locate this stuff in the manual):

    The repeatRows argument specifies the number of leading rows that should be repeated when the Table is asked to split itself.

    So when you create the table, this is one of the arguments you can pass, and it will turn the first n rows into header rows that repeat. You'll find this part of the text on page 77, but the section relating to creating a Table starts on page 76.

    http://www.reportlab.com/docs/reportlab-userguide.pdf

提交回复
热议问题