menu in grid

Hi,
I am attaching a menu for the grid. I am getting menu on right click of the grid if the grid contains the data, otherwise the menu is not coming on right click(if no grid data). Is there any way of getting menu on right click on the grid without grid data (or right click on “objbox”).

Thanks,
u me

You can use native API of menu

grid.objBox.id = "grid_body_id"; menu.addContextZone("grid_body_id");

Thanks Stanislav. Its working fine.