Hello
Is there any possibility to detach context menu from Tree or disable it?
I enabled it with
viewTree.enableContextMenu(contextMenu);
but couldnt find any viewTree.disableContextMenu();
Thanks
Paul
Hello
Is there any possibility to detach context menu from Tree or disable it?
I enabled it with
viewTree.enableContextMenu(contextMenu);
but couldnt find any viewTree.disableContextMenu();
Thanks
Paul
There is no way to detach context menu dynamically. But you can use onBeforeContextMenu event to disable it:
tree.attachEvent("onBeforeContextMenu",function(){
return false;//block context menu
})