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

Borders on Header Cells?

I''m trying to turn off the borders on my header cells. I''ve tried the following code: .Model(0, 1).Borders.All = New GridBorder(GridBorderStyle.None) I''ve also tried setting the .BaseStylesMap.Item("Header").StyleInfo.Borders.All = New GridBorderStyle.None) Is there a way to do this?

1 Reply

AD Administrator Syncfusion Team January 30, 2004 03:51 PM

The borders on the header cells are drawn as part of the Header CellType. If you want to get rid of them, you can change teh celltype. Maybe this will give you what you want. this.gridControl1.Model.BaseStylesMap["Column Header"].StyleInfo.CellType = "Static";

Loader.
Live Chat Icon For mobile
Up arrow icon