Hi,
I have used this in grdTReview_OnRowLoaded.
Dim
headerCells = grdTReview.ChildrenOfType(Of Telerik.Windows.Controls.GridView.GridViewHeaderCell)()
To set the Borderthickness for the Headercell("Employee") i am using the below code.
headerCells(1).BorderThickness = New Thickness(0, 0, 2, 0)
headerCells(1).BorderBrush = New SolidColorBrush(Color.FromArgb(255, 0, 0, 0))
But i want is
headerCells("Employee").BorderThickness = New Thickness(0, 0, 2, 0)
Bcoz at runtime i am hiding some of the columns,so it gives problems when we use the index(headerCells(1)).
When i hide the first Column ie (grdTReview.Columns("Manager").IsVisible)...for the Employee header has the index 0 instead of 1....so i want to use like this(headercells("Employee").BorderThickness = New Thickness(0, 0, 2, 0))
Thanks in Advance
Regards
Senthil.S