w2grid.dblClick

Called when user double clicks on a record.
dblClick(recid, [event])
recid string, id of the clicked record
event object, optional, DOM Event Object
Returns undefined.

Description

The first argument recid is the id of the record that was double clicked. The second argument event is DOM event object. This object is used to determine if user held ctrl (cmd on mac) or shift key to do multi record select. This method emits .onDblClick event.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus