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
4032
UltraGridPrintDocument: Control Page Breaks over Columns
posted

I have an UltraWinGrid with columns representing calendar days. On the left I have 2 fixed columns. The rows reprenting employees and departments.

I like to print each month on separate page. How can I achieve that? And - if also püossible - repeat the fixed column on each page.

I did not found any solutions so far. Best would be to specify the page breaks during Initialize Layout. Therefore the grid would be able to fit the columns to the page width.

Any solutions for that?

  • 7535
    Offline posted

    Hello Markus, 

    I looked into the document /API ,and I could not find any way to achieve your requirements.

    UltraGridPrintDocument is something would print the grid as it been displayed. 

    As for printing the grid for each month , you would have to filter the data for each month before print it. I couldn’t find anything to print fixed column on each page. 

    The UltraGridPrintDocument is derived from Microsoft’s PrintDocument class. The Print method can’t be overridden and as a result it is reused from our class. The PrintSettings property is also derived by the PrintDocument class. So if its possible with Microsoft’s PrintDocument then it could be possible with our UltraGridPrintDocument too ,although it would be a new feature idea for us for future version .Please suggest the idea at : http://ideas.infragistics.com

    Thank you.