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

popupClose event not firing

I'm trying to bind to the popupClose event but my method is never called.

In the <ejs-schedule ... (popupClose)="onPopupClose($event)">

Then in my component.ts
onPopupClose(args) {
console.log(args);
}

the event never gets fired.

Any help would be appreciated.


1 Reply

VD Vinitha Devi Murugan Syncfusion Team November 21, 2019 07:34 AM UTC

Hi subhajit, 
 
Syncfusion Greetings. 
 
We suspect that you are using old version of scheduler package in your application which could be the cause. Kindly upgrade your scheduler package to latest version and check. We have prepared below sample to show the alert message while closing the editor window. Please refer it. 
  

  import { 
  EventSettingsModel, 
  View, 
  EventRenderedArgs, 
  ResizeService, 
  DragAndDropService, 
  PopupOpenEventArgs, 
  PopupCloseEventArgs 
} from "@syncfusion/ej2-angular-schedule"; 
 
…. 
 public onPopupClose(args: PopupCloseEventArgs): void { 
    alert("PopupClose triggered"); 
  } 
 
Note: popupClose event applicable from scheduler v.17.3.16. 

Regards, 
M.Vinitha devi 


Loader.
Up arrow icon