Custom navigation interval in Scheduler!!

I'm working with Appointments.
What I'm trying to achieve is the following:
  • have the ~TimelineMonth view (to see 4-5 calendar weeks in the viewport)
  • but on navigation, I want to move forward or backward in the timeline with a 1-week interval

Ex: See the calendar weeks of month August [31,32,33,34,35] and upon clicking the button next on the navigation, shift the calendar weeks to [32,33,34,35,36], so on..
I'm working on a POC and this is a must, can this be achieved?
What I thought of is: set the interval of TimelineWeek to 52 and on (navigation)=fn($event) cancel the event:args.cancel = trueand make some logic to move the scroll position. But this logic seems a bit cumbersome and I want to know if there is a better way to achieve this.
Thank you!!!!!


3 Replies

VM Vengatesh Maniraj Syncfusion Team February 24, 2020 07:25 AM UTC

Hi Humanjo Daro 

Greetings from Syncfusion Support. 

Please refer the below link for more details. 

Regards, 
Vengatesh. 



HD Humanjo Daro February 27, 2020 05:35 AM UTC

I'm working with Appointments.
What I'm trying to achieve is the following:
  • have the ~TimelineMonth view (to see 4-5 calendar weeks in the viewport)
  • but on navigation, I want to move forward or backward in the timeline with a 1-week interval
Ex: See the calendar weeks of month August [31,32,33,34,35] and upon clicking the button next on the navigation, shift the calendar weeks to [32,33,34,35,36], so on..
I'm working on a POC and this is a must, can this be achieved?
What I thought of is: set the interval of TimelineWeek to 52 and on (navigation)=fn($event) cancel the event:args.cancel = trueand make some logic to move the scroll position. But this logic seems a bit cumbersome and I want to know if there is a better way to achieve this.
Thank you!!!!!

Thank you my issue has been solved,...


VM Vengatesh Maniraj Syncfusion Team February 28, 2020 04:27 AM UTC

Hi Humanjo Daro , 
 
You are most welcome. 
 
We are happy that your problem has resolved. 
 
Please get in touch with us if you would require any further assistance. 

Regards, 
Vengatesh 


Loader.
Up arrow icon