w2grid.columnContextMenu

Called when user right clicks on the column.
columnContextMenu(field, [event])
field string, column field name
event object, optional, DOM Event Object
Returns undefined.

Description

This method is called when user right clicks on the column. The method emits the .onColumnContextMenu event and by default open a menu with predefined items.
If you have grid defined in the following way: You can emulate click on the column by:

User Comments

comments powered by Disqus