Thank you for getting back to us.
If you want to deselect the CurrentRow
when the data source is changed, set its IsSelected
property to false
, as mentioned by Martin:
|Me.RadGridView1.CurrentRow.IsCurrent = False
If you want to hide the current row in general, you should change the grid theme. This can be done by processing the RowFormatting
event. Consider the following code snippet:
|Private Sub radGridView1_RowFormatting(ByVal sender As Object, ByVal e As RowFormattingEventArgs)
| If e.RowElement.IsCurrent Then
| e.RowElement.DrawFill = False
| e.RowElement.DrawBorder = False
| End If
I hope this helps. Do not hesitate to contact me if you have other questions.
the Telerik team