Forums

Forums / Developing Portals / Print footer by PDF to page widget

Print footer by PDF to page widget

Thread is closed for posting
2 posts, 1 answered
  1. phamtrungson
    phamtrungson avatar
    12 posts
    Registered:
    07 Oct 2016
    26 Oct 2016
    Link to this post
    Hi everyone,

    I want to know are there any "official" workaround for printing a custom footer by using PDF to page widget? I see a advance properties "table footer" but i dont know how use it. I have to manually add footer after every page block. Many thanks

    Trung Son
  2. swebb
    swebb avatar
    24 posts
    Registered:
    13 Nov 2014
    Answered
    26 Oct 2016
    Link to this post
    Hi Trung Son,

    The property "TableFooterRepeatEnabled" is a boolean field that can be set to true or false. Setting this value to true will repeat the table footer on each page. This only works if you configure your page to use a table with a "tfoot" tag similar to below, hope this helps:

    <table>
      <thead>
        <tr>
          <th>Month</th>
          <th>Savings</th>
        </tr>
      </thead>
      <tfoot>
        <tr>
          <td>Sum</td>
          <td>$180</td>
        </tr>

      </tfoot>
      <tbody>
        <tr>
          <td>January</td>
          <td>$100</td>
        </tr>
        <tr>
          <td>February</td>
          <td>$80</td>
        </tr>
      </tbody>
    </table>
2 posts, 1 answered