scrollTo with the date not working

Hi,

I am using Ejs-Schedule for my Angular 8 application. As you offer the scrollTo function to scroll specific date.

I am trying to use this function with date. It seems like not working with the date argument. 

I have also tried this stuff with the stackbliz demo that you given in demo page.

Please share example where scroll with both the argument. Thanks 

Regards,
Parth 

8 Replies

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

Hi Parthkumar, 

Greetings from Syncfusion support. 

The scrollTo method is used to navigate to the given time of the date. It supports the two arguments as hour which indicates what time we need to scroll and another arguments is scrollDate which indicates the date of the time and it is mainly used for Timeline views. For vertical views hour is enough to scroll the time. Please refer the below sample. 

  /*Apply scroll to the schedule component*/ 
  onChange(args: ChangeEventArgs): void { 
    let date = resetTime(new Date()); 
    if(['TimelineDay', 'TimelineWeek', 'TimelineWorkWeek', 'TimelineMonth'].indexOf(this.scheduleObj.currentView) > -1) { 
      // for timeline views 
      this.scheduleObj.scrollTo(args.text, date); 
    } else { 
      // for vertical views 
      this.scheduleObj.scrollTo(args.text, undefined); 
    } 
  } 


Kindly try the above sample and get back to us If you would need any further assistance. 

Regards, 
Ravikumar Venkatesan 



PK Parthkumar Kakadiya March 25, 2020 12:45 PM UTC

Hi Ravikumar,

Is it only possible with timeline view ?

I would like to implement scroll functionality for 12 month view. 


I would like to implement scroll for 12 month view. I would like to scroll schedule with specific day in vertical view scroll.  

Regards,
Parth


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

Hi Parthkumar, 

Thanks for the update. 

We could able to reproduce the reported issue and we have logged the bug report for this issue and the fix will be available in our Volume 1 release which is expected to be roll out at end of March 2020. Kindly be patience until then. 
Regards, 
Vengatesh   



PK Parthkumar Kakadiya March 30, 2020 04:38 PM UTC

HI, 


Any update with the functionality?

Regards,
Parth


VM Vengatesh Maniraj Syncfusion Team March 31, 2020 07:26 AM UTC

Hi Parth, 

Thanks for the update. 

We are planning to roll out our Volume 1 release this weekend and we would notify once it is released. 

Regards, 
Vengatesh  



VM Vengatesh Maniraj Syncfusion Team April 7, 2020 08:58 AM UTC

Hi Parth,

 

We are glad to announce that our Essential Studio 2020 Volume 1 release v18.1.0.42  is rolled out and is available for download under the following link.

 

https://www.syncfusion.com/forums/152921/essential-studio-2020-volume-1-release-v18-1-0-42-is-available-for-download

 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

 

Regards,

Vengatesh 



PK Parthkumar Kakadiya April 15, 2020 02:07 PM UTC

Hi,


Problem is not solved.

I would like to scroll to specific date for month, week and 12 month view.

Regards,
Parth


RV Ravikumar Venkatesan Syncfusion Team April 16, 2020 11:30 AM UTC

Hi ParthKumar, 

Thanks for the update. 

We have checked the scrollTo method functionality on Month view with interval of 12. It works as expected. So, we have prepared a sample for you that contains different views with different intervals with scollTo support. It can be available in below link. 


Kindly try the above sample and get back to us If you would require further assistance. 

Regards, 
Ravikumar Venkatesan 



Loader.
Up arrow icon