search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scroll to hour on button click

Asked by Hayden
4 months 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]
4 months 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:

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.