We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use the menu in the schedule?

Thread ID:





142067 Jan 17,2019 09:16 AM UTC Jan 21,2019 11:45 AM UTC ASP.NET Core - EJ 2 3
Tags: Scheduler
Asked On January 17, 2019 09:16 AM UTC

I want to display 3 schedule controls in my page, and 3 schedules have their own context menu. What should I do?

Nevitha Ravi [Syncfusion]
Replied On January 18, 2019 07:18 AM UTC

Hi Pomelobutter, 

Thank you for contacting Syncfusion Support. 

We have prepared a sample by integrating context menu within our Scheduler which can be downloaded from the following link. 

In the above sample we have rendered three scheduler in a page and integrate context menu for them. 

Kindly refer the samples and let us know if you need any further assistance. 


Replied On January 18, 2019 07:40 AM UTC

Hi, thank you for your reply, I now want to right-click on the time grid on the schedule and get all the information on this cell. Can these be obtained?

Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 21, 2019 11:45 AM UTC

Hi Pomelobutter, 
Thanks for your update.  
We have modified our previous sample to display the menu item Cell details only on cell click and by clicking that menu, cell details can be retrieved using getCellDetails function as shown below. 
    text = "Cell details", 
    iconCss = "e-icons today", 
    id = "details" 
function onContextMenuBeforeOpen1(args) { 
    var newEventElement = document.querySelector('.e-new-event'); 
    if (newEventElement) { 
        ej.base.removeClass([document.querySelector('.e-selected-cell')], 'e-selected-cell'); 
    var targetElement = args.event.target; 
    if (ej.base.closest(targetElement, 'contextmenu1')) { 
    selectedTarget = ej.base.closest(targetElement, '.e-appointment,.e-work-cells,' + 
        '.e-vertical-view .e-date-header-wrap .e-all-day-cells,.e-vertical-view .e-date-header-wrap .e-header-cells'); 
case 'details': 
    var cellDatails = scheduleObj.getCellDetails(scheduleObj.getSelectedElements().indexOf(selectedTarget) !== -1 ? scheduleObj.getSelectedElements() : selectedTarget); 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon