Show quickinfo only on appointments

Is there a way to only show the quickinfo box on appointments, not on empty cells?

I see there's a closeQuickInfoPopup method but if there were a showQuickInfoPopup method we could utilise the eventClick.
I guess the other option would be to use my own popup instead on eventClick.

Any other options?

Thanks

3 Replies 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team September 30, 2020 06:00 AM UTC

Hi Richard, 

Greetings from Syncfusion support. 

We have validated your requirement at our end. We have prevented the opening of the quick info popup when performing the cell click action with the help of the popupOpen event of the schedule like the below code. 

[index.js] 
  onPopupOpen(args) { 
    let isCell = args.target.classList.contains('e-work-cells') || args.target.classList.contains('e-header-cells'); 
    if (args.type === "QuickInfo" && isCell) { 
      args.cancel = true; 
    } 
  } 


Kindly try the above sample and get back to us if you need any further assistance. 

Regards, 
Ravikumar Venkatesan 


Marked as answer

RC Richard Craig September 30, 2020 09:36 AM UTC

Perfect, thanks guys

Richard


VD Vinitha Devi Murugan Syncfusion Team October 1, 2020 10:52 AM UTC

Hi Richard, 
 
Thanks for your update. 
 
You are most welcome 😊  
  
Regards, 
Vinitha 


Loader.
Up arrow icon