[mac safari 5] ctrl-click not working for rt. click on tree

Apparently, ctrl-click is not working to trigger the context menu behavior in Safari 5 for mac users.

Affecting vocal customers in live deployment.

Hello,
the problem has been confirmed. We have sent the fixed dhtmlxtree.js by email.

Alexandra,

I am running into similar issues on mac where right click on grid row is not bringing the context menu . Any help what the solution was…I have played with onRightClick handler but unable to get the default browser behavior on mac . It works on other browsers and in windows. thanks !

suman

Suman,

context menu appears on ctrl+click on Mac. Please try.

For processing right clicks you may set onRightClick event handler and call showContextMenu manually:

tree.attachEvent(“onRightClick”,function(id, e){
/your code here/
})

Hello

I’m sorry to wake this old thread but I have the exact same problem om the DHTMLX-version we use.

On Mac ctrl-click on the tree to open contextmenu I get a really irregular problem with menu not showing. It does however stop the default-contextmenu to show but not allways the custom one.

The weird part is that it allways show the menu if i use a mouse and (do a proper) rightclick, but not with ctrl-click. (twofingerklick on trackpad does also work every time).

We use DHTMLX Suite v30 Pro 111031 and I wonder if there is some kind of fix available for this?

Hello
If you have active support subscribtion, please create a ticket in the online support system and attach completed demo there.
docs.dhtmlx.com/doku.php?id=othe … leted_demo
If no - attach html (ans xml) files here

Thank you for your prompt reply.
But the team has decided to go another way and change the implementation and not use the rightklick to be able to secure the future with mobile tablets and such.

John_B
Ok :slight_smile: