Table Headers & Page numbers

2 posts, 0 answers
  1. Alanm
    Alanm avatar
    26 posts
    Member since:
    Mar 2007

    Posted 21 Jan 2016 Link to this post

    I really like the Telerik DPL and I'm using RadFlowDocument with PdfFormatProvider to produce some much need PDFs, but I've got 2 major issues:


    1). The tables (Table table = section.Blocks.AddTable();) don't seem to support any sort of Table Headers, I want it to simply repeat the table headers when it flows onto another page. Much like itextsharp's setHeaderRows(). Is this possible?


    2) There doesn't seem to be any support for pages numbers in the footer?



  2. Boby
    Boby avatar
    763 posts

    Posted 22 Jan 2016 Link to this post

    Hello Alan,

    You are right, both of the issues are still not natively implemented in the PdfFormatProvider. Here are the corresponding items in our feedback portal, where you can vote and subscribe to track eventual progress.

    Respect RepeatOnEveryPage property for TableRow in PDF export (this is the item for RadWordsProcessing)
    Implement API for repeating table rows on every page (this is the item for RadPdfProcessing, which would be corresponding to iTextSharp's PdfTable.HeaderRows)

    Page Numbering Fields - PAGE, NUMPAGES

    A more "manual" workarounds exist for both of your points.
    - For the 1) you can try the project attached to the first item
    - For 2) you can check the attached files, which demonstrate different approaches depending on your scenario - whether you are generating the RadFlowDocument from scratch, or are using some kind of docx template containing NUMPAGES field.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top