Get row values from grid double click event

Hello, I want to get the field values of a row in an ejs-grid on double click of the row.  I'm using the recordDoubleClick function.  "args.ICN" refers to a field in the grid.

function checkOutGridDoubleClick(args) {
     alert(args.ICN)
}

When I double click the row, the alert tells me that the value is undefined.  

What am I doing wrong?

Thanks

3 Replies 1 reply marked as answer

MS Manivel Sellamuthu Syncfusion Team July 9, 2020 07:34 AM UTC

Hi Joshua, 

Greetings from Syncfusion support. 

RecordDoubleClick Event will contains the below args as explained in the below API documentation. 



So you can access the particular field’s value as args.rowData.ICN

Please let us know, if you need further assistance. 

Regards, 
Manivel 


Marked as answer

HM Hingle McCringleberry July 9, 2020 12:01 PM UTC

That works.  Thank you for your help.


MS Manivel Sellamuthu Syncfusion Team July 10, 2020 05:19 AM UTC

Hi Joshua, 

Thanks for your update. 

We are glad that the provided suggestion worked.. 

Please let us know, if you need further assistance. 

Regards, 
Manivel 


Loader.
Up arrow icon