Hi guys :)
I Have a Radgridview and I want to hide other columns when I doubleclick a certain column
Im doing it through this code
Private Sub DataGridView1_CellDoubleClick(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles DataGridView1.CellDoubleClick
DataGridView1.Columns("Column1").IsVisible = False
DataGridView1.Columns("Column2").IsVisible = False
End Sub
But the problem is that I want to use this event when is certain column is doubleclicked and not for all columns. I want this code to run when I double clicked on column5 for example.
Im using vb.net and totally new to telerik controls
Any help would be appreciated in this regard.
Thanks :)
I Have a Radgridview and I want to hide other columns when I doubleclick a certain column
Im doing it through this code
Private Sub DataGridView1_CellDoubleClick(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles DataGridView1.CellDoubleClick
DataGridView1.Columns("Column1").IsVisible = False
DataGridView1.Columns("Column2").IsVisible = False
End Sub
But the problem is that I want to use this event when is certain column is doubleclicked and not for all columns. I want this code to run when I double clicked on column5 for example.
Im using vb.net and totally new to telerik controls
Any help would be appreciated in this regard.
Thanks :)