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?

  • 1414
    posted

    Tashbaugh,

    I attached a text file with the beginnings of a class I am writing.  I tried to post it but the results were - shall we say - a bit less than satisfactory!!!

    I was/am working on the same problem.  I had a twist in that I did not want to manually format the widths of all the columns.  I also bind the data using code.  Some earlier forum posts noted that the default width is 0 - so nothing diplayed but the record selectors.  Yuk, yuk...

    I have attached the very beginning of a class to:
    Default the column widths based on percentages using character counts in headers and content
    Create a section header
    Placing the grid on the report after setting the header

    Now, to your problem:
    The column management above will set the widths that can be used to place the headers where needed in the section heading
    Or, you can use your column widths set as properties to do the same
    Use the same kindof loop

    Now stuff I am still looking into:
    I will need to supress the printing of the first column headers

    and, much time will be spent debugging...

    This reply is really just to get ideas floating out there.