Print Preview is missing Backcolor/coloring of Cell in Gridview.
I have populated myGrid (used banded grind) with some data. Later Some coloring has been done to some cell on some condition. Attached screen shot, One cell has been colored with RED. When this grid view shown in printpreview, back coloring in missing. Please let me know do I need to set any property? or etc.
Your answer would be appreciated. Thanks in advance.
-Dharanendra
dharanendrahb@alcatel-lucent.com
Ph: +91-80-2505 2144
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi,
To make you aware of the fact that Cell coloring is done by using "CustomDrawCell" event to paint it manually. So this is not taken into consideration while doing the print preview by the Grind Control. Is there any suitable event or method that we can handle this during print preview/printing/export
-Dharanendra
Hello Dharanendra,
You are right; the CustomDrawCell event doesn't affect the cell appearance while printing. Instead, use the GridView.RowCellStyle event.
Thank you,
Paul