Grid Print Pagebreak

Hi,

I am using the gridcontrol in virtual mode, I would like to know how to control page break for printing. I have tried LayoutSupportHelper, but it does not seem to help me control the page breaks. basically, I want to control how many rows and how many columns in one page.

Thanks,

Q


1 Reply

JJ Jisha Joy Syncfusion Team October 19, 2010 10:33 AM UTC

Hi,

There is no support provided to explicitly apply page breaks in a direct manner while printing as this can be achieved through customized print document by deriving the GridPrintDocument class and overriding the OnBeginPrint method.

You can also follow the below msdn link which exemplifies the overriding of PrintDocument class.

http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/bfe43688-e2f2-4de4-8369-98faec06875a


Regards,
Jisha


Loader.
Up arrow icon