jQWidgets Forums
jQuery UI Widgets › Forums › Scheduler › context menu movile
Tagged: scheduler, scheduler context menu
This topic contains 9 replies, has 3 voices, and was last updated by admin 8 years, 3 months ago.
-
Authorcontext menu movile Posts
-
Hi a question, how can I use the contextual menu (right button) in scheduler from the cell phone? Thnx
Hi pablosym,
There is no right-click on cell phone so you can’t.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks, there is no way to realize keeping pressed on the appointment for a few seconds and enable the contextual menu?
Hi pablosym,
There is openMenu method i.e you can open the Scheduler context menu when you want – $(‘#jqxScheduler’).jqxScheduler(‘openMenu’, 50, 100);
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comGood idea, I’m trying now that when you click on the appointment, open the contextual menu, it opens, but when you release the mouse button it closes automatically and I do not understand why, you can help me thanks
$(“#scheduler”).on(‘appointmentClick’, function (event) {
// esperar = setTimeout(aver(event), 4000); //Llamamos a settimeout de la manera correctaevent.preventDefault();
$(‘#scheduler’).jqxScheduler(‘openMenu’);
event.preventDefault();
});
If you want to use “appointmentClick”, do:
$("#scheduler").on('appointmentClick', function(){ setTimeout(function(){$("#scheduler").jqxScheduler('openMenu'); },100); })
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comWell it works Thanks, now I have to see how to cancel the right button, since the 2 are activated, is there any way to identify it?
Hi pablosym,
Why do you have to do that? There’s no right click on mobile devices.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
If I already know that there is no right button on the mobile, that’s why I want to make it when you click on the contextual menu, with what you said I worked fine, but from the web I can right click and activate the contextual menu 2 times Enter the same event click, so I ask if there is a way to differentiate which button is pressed from the web or directly cancel the right button of the context menuHi pablosym,
Would not it be easier to use this custom logic only on mobile devices?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.