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

Position the scroll in the current time

Thread ID:

Created:

Updated:

Platform:

Replies:

144237 Apr 26,2019 12:23 AM UTC Apr 26,2019 09:55 AM UTC Vue 1
loading
Tags: Schedule
Marco
Asked On April 26, 2019 12:23 AM UTC

Hello, good day ^^
When you open the calendar, can you position the scroll in the current time?

like this for example....

THANK YOU :D

Attachment: Captura_de_Pantalla_20190425_a_la(s)_19.22.25.png_d7cb69f5.zip

Nevitha Ravi [Syncfusion]
Replied On April 26, 2019 09:55 AM UTC

Hi Marco, 

Greetings from Syncfusion Support. 

Yes we can position the scroll to current time using the public method scrollTo on ‘dataBound’ event of the scheduler. We have prepared a sample for the same which can be downloaded from the following link. 

onDataBound: function(args) { 
      if (this.flag) { 
        let intl = new Internationalization(); 
        this.$refs.scheduleObj.scrollTo(intl.formatDate(new Date(), { skeleton: 'Hm' })); 
        this.flag = false; 
     
 

Please try the sample and let us know if you need any further assistance. 

Regards, 
Nevitha 


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