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

Scheduler SetScrollX from JScript

Asked by Duneel
10 years ago.

Is it possible to scroll to current date from JScript? Please help. I really need an answer asap.

Thanks,
Duneel

Answer posted by Dan Letecky [DayPilot]
10 years ago.

In the Scheduler, you can do it using setScroll() method (in pixels):

http://api.daypilot.org/daypilot-scheduler-setscroll/

Or using scrollTo() method (using a date):

  var now = new DayPilot.Date()
  dps.scrollTo(now);
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.