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

Grid printing question

Hi, I''m trying to print a grid and I had a couple of questions. 1) Is there a way to autosize the GridPrintDocument so that it always fits on the defined page? 2) Is there an easy way to add information to the print document. eg. File name, last change date, etc. Thanks, Gordon

3 Replies

AD Administrator Syncfusion Team October 29, 2004 11:44 AM

There are several KB''s on printing including this one that shows how you can print fotters and headers. It takes some coding. http://www.syncfusion.com/Support/article.aspx?id=10376 To fit things on one page, take a look at the Grid\Samples\In Depth\PrintToFit sample.


GR Gordon Rhea November 1, 2004 07:33 AM

The grid samples show how to fit the entire grid onto one page. This is not what I need. I need the printing to have all the columns shurnk to fit on a page but still break the rows into pages. Once there are a couple hundred rows it is too small to read on one page. Thanks, Gordon


AD Administrator Syncfusion Team November 1, 2004 08:21 AM

I do not know of a simple way to do this. One option you could try is to zoom out the grid so all the columns fit in one page width, and then print this zoomed grid. We do not have direct support for zooming yet, but here is a forum thread with a sample of how you might try to do it yourself. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=6367

Loader.
Live Chat Icon For mobile
Up arrow icon