Context menus in 'empty' grid areas

I’m using the TreeGrid from 4.0.3. I’ve got a context menu attached which works fine if I right-click over an existing grid row. What I am not seeing is the menu when I right-click over the empty area of the grid. What do I need to do to make this active? The requirement here is for a user to be able to right-click on the empty area and add a new row.

Many thanks.

Please, try to add the following code after the init of your grid:

mygrid.entBox.id = "gridBody"; menu.addContextZone("gridBody");

Superb. This works perfectly. Thank you. This works