We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Print grids

Hi,

I have a report with number of virtual grids of different columns and rows. The number of grids may vary from report to report. I want to print the report where in all the grids appear one after another.(I searched the forums and found how two grids can be printed using a 'fake merge'. But here the columns are not same and that is not helpful in this case.)

Kindly let me know how do I accomplish this. Thanks.

Regards
Kiran

1 Reply

RA Rajagopal Syncfusion Team September 25, 2007 06:31 PM UTC

Hi Kiran,

Thanks for your interest in Syncfusion Products.

This can be achieved by deriving the GridPrintDocument and overriding its OnPrintPage method. In the override, don't call the base class. Place and draw the grids wherever you want it in the page layout. Please refer the following Knowledge Base(KB) article link that helps in printing multiple grids in a page.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=63

If you like to print multiple grids on each page, then refer the below KB article that helps in doing this. Also this helps in adding header and footer on each page.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=62

Let me know if you have any other questions.

Regards,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon