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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Flattening grid headers

Thread ID:





16936 Jul 27,2004 09:17 PM UTC Jul 27,2004 09:26 PM UTC WinForms 1
Tags: GridControl
Ricardo J. Méndez
Asked On July 27, 2004 09:17 PM UTC

Hi, How should I proceed about flattening the headers of a GridDataBoundGrid grid? I tried assigning GridCellAppearance.Flat to row 0 grids on the gridAccounting_PrepareViewStyleInfo event, but it didn''t do the trick. Thanks, Ricardo

Administrator [Syncfusion]
Replied On July 27, 2004 09:26 PM UTC

Try setting e.Style.CellType = "Static". The "Header" celltype draws the raised look as part of the cell and is not affected by CellAppearance settings. Here is another forum thread on this issue from earlier today. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16889


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon