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

How to add header/title to gridprintdocument

hello,

i am using the gridprintdocument class

i want to add a header at the top of the page to each print

how can i do that?

in this link, below, you wrote ".....Also this helps in adding header and footer on each page..." + a link that shows a blank page.

 http://www.syncfusion.com/support/forums/grid-windows/68883

 

waiting for an answer

jone


1 Reply

VK Vinish Kumar K Syncfusion Team August 28, 2012 12:40 PM UTC

Hi Jone,

Thanks for your interest in Syncfusion products.

Eabling the PrintColHeader property and PrintRowHeader property will turn on the printing of the column header and the row header of the GridControl.

Please refer the code below that illustrate on how to implement those properties:
gridControl1.Properties.PrintColHeader = True;
gridControl1.Properties.PrintRowHeader = True;

Please let me know if you have any further concerns.

Regards,

Vinish Kumar K



Loader.
Live Chat Icon For mobile
Up arrow icon