Categories | Question details Back To List | ||
Using Context menu with multiple grids I am trying to use the context menus in multiple grids on one page. I am trying to do something like mygrid.getUserData(rowIdFull,"data") in thesetContextMenuHandler, but I need to get the mygrid object somehow. Is it possible to share a procedure between 2 grids. The grids will be created dynamically so I can't hardcode any grid names in. Answer posted by Support on Sep 10, 2008 01:54 You can share context menu between multiple grids, but context menu event will receive only row id|cell index. It will not receive info about grid in which event occurs. You can use onBeforeContextMenu event of grid to receive necessary info. var context_grid=null; |