Difficulty attacing a context menu to a layout grid

Hi,
I am trying to attached a context menu to a grid that is displayed within a layout cell. to date I have had no success.
Is there any sample code showing how to do this?

Hi
I suppose this onlone sample will help you:
dhtmlx.com/docs/products/dht … _menu.html