Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Søren on May 22, 2009 00:54
open dhtmlx forum
dhtmlXGrid context menu v.1.4?

Hi

I am using version v.1.4 of dhtmlXgrid and I would like to add a contextmenu to the grid.

Can you supply me with some information about how to get started with thsi issue??

Best regards
Søren
Answer posted by Support on May 22, 2009 03:38
If you have version of dhtmlxmenu 1.x (you version of grid is not compatible with dhtmlxmenu 2.0 ), you can just init context menu object and use 
         grid.enableContextMenu(menu_object);
Also, grid has the onRightClick event
        grid.setOnRightClick(function(id,index){
                // init of custom context menu here
        })

All above functionality supported by PRO edition of grid only.