Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sreejith on Nov 13, 2008 21:48
open dhtmlx forum
Enable context menu

hello,

i need to enable the context menu for a particular portion of the grid, once i enable the context menu it will affect whole cells of the grid, i need to enable right click option for the remaining portion

thanks in advance

Answer posted by Support on Nov 14, 2008 01:47
You can useonBeforeContextMenu event, it occurs after right click and receives row id and column index of cell in grid for which click occurs. 
By return false from event handler you can block context menu appearance for non-necessary cells.