Called when user clicks on a record.
click(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 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
.onClick event.
If you have grid defined in the following way:
You can do: