Navigation events

Is there an event that fires when the navigation is finished? In the documentation provided I found only one event that occurs during the "transient" phase of navigation (navigating). Probably I have not seen well, but I cannot find this event. Thanks for your collaboration

3 Replies

RV Ravikumar Venkatesan Syncfusion Team March 10, 2020 10:14 AM UTC

Hi Alfredo, 

Greetings from Syncfusion support. 

We have analyzed your requirement at our end. The actionComplete event in the Scheduler is triggered after the date or view navigation action got completed. So, you can perform your operation inside the actionComplete event with the condition of requestType of “dateNavigate” and “viewNavigate” like the below. 

[app.component.html] 
<ejs-schedule #schedule height='650px' [(selectedDate)]="selectedDate" [eventSettings]="eventSettings" (actionComplete)="onActionComplete($event)" (navigating)="onNavigation($event)"></ejs-schedule> 

[app.component.ts] 
  onActionComplete(args: ActionEventArgs) { 
    if (args.requestType === 'dateNavigate' || args.requestType === 'viewNavigate') { 
       // You can write your code here. 
      alert('Navigation completed'); 
    } 
  } 


Kindly try the above sample and get in touch with us If you would need any further assistance. 


Regards, 
Ravikumar Venkatesan 



AL Alfredo March 11, 2020 03:09 PM UTC

Thanks for your help


VM Vengatesh Maniraj Syncfusion Team March 12, 2020 04:26 AM UTC

Hi Alfredo, 

You are most welcome. 

Please get back to us if you would require any further assistance. 

Regards, 
Vengatesh 


Loader.
Up arrow icon