| Sample: dhtmlxGrid | Grid linked to menu | dhtmlxGrid main page |

Excell "context" allows to set menu as editor for grid's cell. Just try to edit column with authors.

    var ctx=new dhtmlXMenuBarObject(document.getElementById('context'),'120',0,'Demo',1);
    ...
    ctx.enableDirectOnClick(true);
    ctx.enableWindowOpenMode(false);

    mygrid = new dhtmlXGridObject('gridbox');
    ...
    mygrid.setColTypes("dyn,ed,context,price,ch,co,ra,ro");
    mygrid.setSubContext(ctx,2,0);
    mygrid.init();

    ctx.loadXML("_menuV1.xml",function(){
        mygrid.loadXML("grid.xml");
    });