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

Custom Header Printing

Thread ID:

Created:

Updated:

Platform:

Replies:

417 Jun 25,2002 10:26 AM UTC Jun 25,2002 12:25 PM UTC WinForms 1
loading
Tags: GridControl
PM
Asked On June 25, 2002 10:26 AM UTC

1) Is it possible to print from the grid & get events fired when the header, footer & body is printed..as we need to modify the header in reports on each page & also add a custom calulated footer for the page. Much alike OGGrid. 2) When the cells are covered the background of cell is not painted properly. [image attached] Your early response will help us release our order for thr Suite at the earliest. Regards, Pankaj

Clay Burch [Syncfusion]
Replied On June 25, 2002 12:25 PM UTC

> 1) Is it possible to print from the grid & get events fired when the header, footer & body is printed..as we need to modify the header in reports on each page & also add a custom calulated footer for the page. Much alike OGGrid. > > 2) When the cells are covered the background of cell is not painted properly. [image attached] > > Your early response will help us release our order for thr Suite at the earliest. > > Regards, > Pankaj > If you want a quick response to such questions, you should submit an incident through our Direct Trac support system. This forum is monitored on an informal schedule, and you could possibly wait days before a Syncfusion engineer sees your post. This forum is mainly intended as a place where our customers can interact with one another. You can, of course, post them here as well, but you may not get a timely response on this open forum. To print footers and headers now, you would handle a couple events on the GridPrintDocument object that you create to do your printing. In its BeginPrint event, you would set the grid margins (in the GridPrintDocument.DefaultPageSettings property) to reserve header and footer space, and you may also have to set the GridBounds property. Then in the PrintPage event, you would print your footer and header. A straight-forward way of doing this is to use a richtextbox to create your footer/header, and then print this RTB in this event handler. Our Window Forms FAQ has a link to a sample on printing a richtextbox. Future releases of Essential Grid will support footer/header printing in a more straight-forward manner. As far as the problem with the cell image, can you post a code snippet so we can see exactly what settings you have so we can reproduce this problem. For example, do you have one of the listboxselectionmode set? From the picture, it is not clear whether this is set or not. As soon as we can see the problem here, we should be able to suggest something to avoid it, or to verify it as a bug and get it fixed.

CONFIRMATION

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.

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

;