ToolTipOpening how to get the rowdata in this event

Hello

this is not working ?

Private Sub DgSfSelection_ToolTipOpening(sender As Object, e As Syncfusion.WinForms.DataGrid.Events.ToolTipOpeningEventArgs) Handles DgSfSelection.ToolTipOpening
     
       Dim order As Long = TryCast(e.RowData, OverviewOrder).OrderID
   end sub

e.Rowdata does not exist ? how can i get de data of the current row in  this event please

Thanks
wheel

3 Replies

AR Amal Raj U Syncfusion Team June 7, 2018 11:42 AM UTC

Hi Chris, 

Thanks for using Syncfusion products. 

The data of the current row in the ToolTipOpening event can be retrieved in ToolTipOpeningEventArgs.Record property. Please make use of the below code, 

Code Example: 
Private Sub DgSfSelection_ToolTipOpening(sender As Object, e As ToolTipOpeningEventArgs) Handles DgSfSelection.ToolTipOpening 
   Dim order As Long = TryCast(e.Record, OverviewOrder).OrderID 
end sub 

Regards, 
Amal Raj U. 



CV Chris Vandewiele June 7, 2018 11:49 AM UTC

thanks
wheel


AR Amal Raj U Syncfusion Team June 8, 2018 08:49 AM UTC

Hi Chris, 

Thanks for your update. 

Please let us know, if you need any further assistance. 

Regards, 
Amal Raj U.

Loader.
Up arrow icon