w2grid.menuClick

Called when user clicks on a context menu item.
menuClick(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 third argument event is DOM event object. This method emits .onMenuClick event.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus