Hi – I’m having a problem w/ the Full Calendar. I need to implement a context menu when the user clicks on a day with the right mouse button.
The DayClick event provides a button property in the event arguments. If fires for Left, but it seems the event does not fire at all for a right click.
The right click is detectable on the EventClick event, but not on DayClick.
Can this be fixed? And in the meantime is there any work around?
Thanks in advance!
I misread your post. Sorry about that. The DayClick right-click was never implemented because the fullcalendar library doesn’t support it and our patch for the EventClick right-click doesn’t work for the DayClick. I will look into this again, maybe there is something I missed in the fullcalendar code that would allow for right DayClick events.
The fullcalendar library doesn’t support right clicks on events. Our integration added a patch to support right clicks (the ‘contextmenu’ event in javascript) but it stopped working with the last updated of the fullcalendar libary.
You can find the updated project here: https://wisej.com/extensions.
Handle FullCalendar.EventClick and check e.Button for the Right button.
Please login first to submit.