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

After Date Change Event

Thread ID:

Created:

Updated:

Platform:

Replies:

149610 Dec 3,2019 07:47 AM UTC Dec 5,2019 06:18 AM UTC Angular - EJ 2 3
loading
Tags: Schedule
mehmet yanbak
Asked On December 3, 2019 07:47 AM UTC

Hi,

I need to catch new selected date after date change. Navigating event is triggers before the date or view navigation takes place on scheduler. But I need an event triggers after the date or view navigation takes place on scheduler. I can I do this ?


Regards


Vinitha Devi Murugan [Syncfusion]
Replied On December 4, 2019 10:10 AM UTC

Hi mehmet, 
 
Syncfusion Greetings. 
 
You can get the start and end date of current date range by making use of actionComplete event with args.requestType viewNavigate and dateNavigate. For the same we have prepared the below sample, kindly refer it.  
 
  
 //To get the start and end dates of current view and current Date range 
  onActionComplete(args): void { 
    if ( args.requestType === "viewNavigate" || args.requestType === "dateNavigate") { 
      var currentViewDates = this.scheduleObj.getCurrentViewDates(); 
      var startDate = currentViewDates[0]; 
      var endDate = currentViewDates[currentViewDates.length - 1]; 
      console.log(startDate); 
      console.log(endDate); 
    } 
  } 
  
Kindly try with the above sample and let us know, if you need any further assistance on this. 
 
Regards,  
M.Vinitha devi 


mehmet yanbak
Replied On December 4, 2019 10:57 AM UTC

Hi,

It works, thank you for your help.

Regards

Vinitha Devi Murugan [Syncfusion]
Replied On December 5, 2019 06:18 AM UTC

Hi mehmet, 

Thanks for your update. 

You are most welcome 😊 

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