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

Borders on Header Cells?

Thread ID:





10390 Jan 30,2004 04:52 PM UTC Jan 30,2004 08:51 PM UTC WinForms 1
Tags: GridControl
Justin Koh
Asked On January 30, 2004 04:52 PM UTC

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?

Administrator [Syncfusion]
Replied On January 30, 2004 08:51 PM UTC

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";


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