Called when user clicks on a context menu item.
menuClick(recid, index, event)
recid |
string, id of the clicked record |
index |
integer, index of the menu item in the menu array |
event |
object, optional, DOM Event Object |
Returns undefined.
Description
The first argument recid is the id of the record that was clicked. The third argument
event is DOM event object. This method emits
.onMenuClick event.
If you have grid defined in the following way:
You can do: