The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
what event should i use to capture the double click on any cell in the first column of a gdbg or on the row header to retrieve the value of the selected row..?
ADAdministrator Syncfusion Team May 17, 2006 11:40 AM UTC
Hi Cheryl,
Please try this code in CellDoubleClick Event. Here is a code snippet in VB.Net
//Form Load Event.
AddHandler gridDataBoundGrid1.CellDoubleClick, AddressOf gridDataBoundGrid1_CellDobulbeClick
Private Sub gridDataBoundGrid1_CellDobulbeClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs)
If e.RowIndex > 0 AndAlso e.ColIndex = 0 Then
Dim cm As CurrencyManager = Me.BindingContext.Item(Me.gridDataBoundGrid1.DataSource)
Dim row As DataRowView = cm.Current
MessageBox.Show(row.Row.Item(2))
End If
End Sub
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GBC_Color_d0de4cc1.zip
Please let me know if this helps.
Best Regards,
Haneef