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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Printing column headers on each page

Thread ID:





115406 Jan 16,2014 08:56 AM UTC Feb 27,2014 05:01 AM UTC WinForms 3
Tags: GridControl
Inder Jeet Pal Singh
Asked On January 16, 2014 08:56 AM UTC


Is it possible to print header on each new page.

Can you please help me with some sample. I am using gridgroupingcontrol and print is working fine, just that not able to copy header to each new page.

Thank you

Anish George [Syncfusion]
Replied On January 22, 2014 04:11 AM UTC

Hi Inder,


Thank you for using Syncfuison products.


We would like to let you know that this can be achieved by deriving the GridPrintDocument and by overriding its OnPrintPage method. In the override, the customized Header and Footer texts are defined and are drawn. Please refer the below KB link for sample and more information.





Please let us know if you need any further assistance.




Inder Jeet Pal Singh
Replied On February 20, 2014 08:54 AM UTC


Thank you for your help. It indeed works as expected.

The only other thing that i am not able to achieve is to ScaleColumnsToFitPage using this approach.

Any help to achieve that will be great.


Anish George [Syncfusion]
Replied On February 27, 2014 05:01 AM UTC

Hi Inder,


Thank you for your update.


We would like to let you know that we already have a dashboard sample having both header and ScalesToFit option in Print Grid Demo. Please refer the sample in the below location.



<Installed_Location>\Syncfusion\EssentialStudio\\Windows\Grid.Windows\Samples\Printing\Print Grid Demo\


Please let us know if you need any further assistance.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon