Categories | Question details Back To List | ||
Context Menu on Grid header Hi Team, Can you help me how to pop up the context menu after right click on grid header and how to handle the further events? Thanks. -Agile Answer posted by Support on Oct 22, 2008 09:04 In the following post you can find the approach to setting custom on right click handler: index.php?s=normal&q=5722&a=8506 Moreover you can try to attach dhtmlxMenu as context menu to the header: menu = new dhtmlXMenuObject(null,"standard"); menu.setImagePath("../../../dhtmlxMenu/codebase/imgs/"); menu.setIconsPath("../images/"); menu.renderAsContextMenu(); menu.setOpenMode("web"); menu.attachEvent("onClick",onButtonClick); menu.loadXML("_context.xml") grid = new dhtmlXGridObject('gridbox'); .... grid.hdr.id= "header"; menu.addContextZone("header"); |