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
close icon

Flattening grid headers

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon