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?
ADAdministrator Syncfusion Team 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";