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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

popupClose event not firing

Thread ID:

Created:

Updated:

Platform:

Replies:

149291 Nov 20,2019 09:29 PM UTC Nov 21,2019 07:34 AM UTC Angular - EJ 2 1
loading
Tags: Schedule
subhajit
Asked On November 20, 2019 09:29 PM UTC

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.


Vinitha Devi Murugan [Syncfusion]
Replied On 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 


CONFIRMATION

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