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. Image for the cookie policy date

Change Timeline Scroll by code.

How to change timeline with code. I tried with scheduler refernce schduler.Scroll.ToAsync("02:00") but its not working for me.

1 Reply

VR Vijay Ravi Syncfusion Team March 27, 2023 10:55 AM UTC

Hi GX,

According to the current Schedule architecture, it’s not possible to change the current time indicator position. The current time indicator automatically changes its position based on current time. Can you share the use case scenario of your requirement that why you need to change the position of the current time indicator. it will help us to provide a solution for your query earlier.

ScrollToAsync api: https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.SfSchedule-1.html#Syncfusion_Blazor_Schedule_SfSchedule_1_ScrollToAsync_System_String_System_Nullable_System_DateTime__

The "ScrollToAsync" method of the Blazor Scheduler is helps the user to programmatically scroll to the provided time of the date in the content area of the Scheduler.


Vijay Ravi

Live Chat Icon For mobile
Up arrow icon