Context menu

I have a grid control with a context menu defined. My menu has: Add row and Delete row. Everithing works fine, but the context menu desnt shows if the grid is empty.  Is there a function to call context menu even if the grid is empty??

You can attach dhtmlxMenu to any HTML element by using default context menu API.
To attach it to empty space of grid you can use next command.

    aMenu=new dhtmlXContextMenuObject(‘120’,0);
    …
   aMenu.setContextZone(mygrid.objBox,“empty_space”);