w2grid.showContextMenu

Displays context menu under specified record.
contextMenu(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. The second argument event is DOM event object. This method emits .onContextMenu event.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus