Scroll to hour on button click
Asked by Hayden
5 years ago.
How would i scroll to a particular hour with DayPilotCalendar. I have tried to set DayPilotCalendar1.ScrollPositionHour = 10 for example.
But nothing seems to happen on button click
What i am trying to do is have quick jump buttons that will allow a user to jump to specific hours.
Answer posted by Dan Letecky [DayPilot]
5 years ago.
Changing the ScrollPositionHour value would only work on the server side, during the initial page load or during a PostBack.
If you want to change the scrollbar position on the client side you'll need to use scrollToHour() method:
https://api.daypilot.org/daypilot-calendar-scrolltohour/
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.