Hi,
how can I use dhtmlxMenu on the scheduler ?
I’ll try to call showContextMenu(x,y) on scheduler onclick event but it isn’t work…
Thanks in advance
Cheers
Matteo
Hello,
you can try to use menu.contextAutoHide = false:
menu = new dhtmlXMenuObject();
menu.renderAsContextMenu();
menu.contextAutoHide = false
menu.loadXML("…");
scheduler.attachEvent(“onClick”, function (event_id, e){
menu.showContextMenu(e.clientX,e.clientY)
});
Thanks for your answer.
But now the menu not showing properly (see the attachment).
Have you got any idea ?
Cheers
Matteo
P.S. : I’m using the code below
html, body{
margin:0px;
padding:0px;
height:100%;
overflow:hidden;
}
You set standard skin, but include css file for dhx_blue.
Try to use menu1 = new dhtmlXMenuObject(null,“dhx_blue”) and issue will be solved
Ops…
Yes, now it works.
Thank you very much
Matteo