Home › Forums › WinForms controls › Xceed Grid for WinForms › Grid Row Click event
I am new to Xceeed grid. I want to do a row click event but how can i do it ? I don’t have ideas. Can anyone show me some sample code so that i can catch it. Thanks.
Imported from legacy forums. Posted by takume (had 2879 views)
I tried the following code but it seems no response on grid row click
Private Sub GridRow_Click(ByVal sender As Object, e As System.EventArgs) MessageBox.Show(“Hi”) End Sub
Private Sub SubGridEvent()
Dim oRow As Xceed.Grid.DataRow For Each oRow In gdCustomer.DataRows AddHandler oRow.Click, AddressOf Me.GridRow_Click Next oRow
Imported from legacy forums. Posted by takume (had 289 views)
i tried many times but still cannot get it work. Can anyone send me a piece of code so that i can see what’s the different..and why i can’t get it work. Thanks
Imported from legacy forums. Posted by takume (had 256 views)
You actually click the cells not the row.
From the sender of that event you can get it’s parent row.
Imported from legacy forums. Posted by Chris (had 4022 views)