Block selection and context menu in dhtmlxgrid?

How could i enable context menu over the block selection?

There is a special event onBlockRightClick which you can handle and from it show the content menu


Could you please provide an example for the above ?

Thanks in advance


mygrid.attachEvent("onBlockRightClick",function(block,e){ myMenu.showContextMenu(x, y); });