Show Context Menu in Grid with Left Click instead of Right C

Hi all,

I am trying to use Context Menu in grid. I succeed to display the Context Menu when user do right click of a cell in a grid.

But what I really need is Context Menu will be displayed when user do left-click of mouse button.

Can I activate context menu for both of mouse clicks (left click and right click)…?

Thanks for your help.

Can be done only by code modification.
dhtmlxgrid.js , line 1130

if (ev.button == 2||(_isMacOS&&ev.ctrlKey)){

just remove check of ev. button or replace it with necessary one