I want to display the bottom border of by rows in white so that I get a nice single line between rows.
I have played with code like:
Private Sub RadGridView1_RowFormatting(sender As Object, e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RadGridView1.RowFormatting
e.RowElement.DrawBorder = True
e.RowElement.BorderColor = Color.White
e.RowElement.BorderTopWidth = 0
e.RowElement.BorderBottomWidth = 2
e.RowElement.BorderLeftWidth = 0
e.RowElement.BorderRightWidth = 0
and
Private Sub RadGridView1_CellFormatting(sender As Object, e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridView1.CellFormatting
e.CellElement.DrawBorder = True
e.CellElement.BorderColor = Color.White
e.CellElement.BorderTopWidth = 0
e.CellElement.BorderBottomWidth = 4 ' Setting to 1 or 2 didn't show
e.CellElement.BorderLeftWidth = 0
e.CellElement.BorderRightWidth = 0
but either I cannot get anything to display until I set the bottom width to 4 pixels, or I get lots of other border items shown as well.
Any ideas please?
I have played with code like:
Private Sub RadGridView1_RowFormatting(sender As Object, e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RadGridView1.RowFormatting
e.RowElement.DrawBorder = True
e.RowElement.BorderColor = Color.White
e.RowElement.BorderTopWidth = 0
e.RowElement.BorderBottomWidth = 2
e.RowElement.BorderLeftWidth = 0
e.RowElement.BorderRightWidth = 0
and
Private Sub RadGridView1_CellFormatting(sender As Object, e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles RadGridView1.CellFormatting
e.CellElement.DrawBorder = True
e.CellElement.BorderColor = Color.White
e.CellElement.BorderTopWidth = 0
e.CellElement.BorderBottomWidth = 4 ' Setting to 1 or 2 didn't show
e.CellElement.BorderLeftWidth = 0
e.CellElement.BorderRightWidth = 0
but either I cannot get anything to display until I set the bottom width to 4 pixels, or I get lots of other border items shown as well.
Any ideas please?