Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jun 28, 2007 22:24
open dhtmlx forum
How to trigger an Right Click event of Mouse when the Cell is open for editing .

How to trigger an Right Click event of Mouse when the Cell is open for editing . I get only the Cut Copy Paste Menu whereas iam supposed to get my Context Menu. How to make it possible

Answer posted on Jun 29, 2007 12:23
The cell in edit state block onclick events to not interfere with default onclick processing in grid.
Basically you can disable such behaviour by location and commenting next line in dhtmlGridCell.js for necessary exCell type
    this.obj.onclick = function(e){(e||event).cancelBubble = true}
But I strongly not recommend to do such modification, the right click will be processed in normal way, but in same time other onClick reactions will be processed as well, it can cause very strange behaviors.
Answer posted by Inga (Support) on Nov 29, 2014 23:28

Not much can be said in addition to the reply above, but you also can check chart dhtml and ical php and find out what we have probably missed in our explanation.