Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
157
Column Headers on every page
posted

I have an UltraWebGrid that I am exporting to a PDF using the UltraWebGridDocumentExporter. This grid contains hundreds of rows of data that will span multiple pages in the PDF. Is there a way to print the column headers on every page?

Parents
No Data
Reply
  • 315
    Offline posted

    Hi,

    I have been thinking about this problem as well.

    It would seem that there is a simple solution that could be implemented in a future update to the UltraWebGridDocumentExporter. This would be to store the header information when outputing the header the first time, then to provide a method to the UltraWebGridDocumentExporter to output the header on request (i.e. insertHeader()).

    From checking you can get the row number for the row being processed, so it should be possible to work out how many rows you are getting per page and then call insertHeader() to insert the header into the output.

Children