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

How to change transition in daypilot scheduler

Asked by MoonStar
7 years ago.

Dear Dan,

How can i display immediately the booking date in dp scheduler after booking.
Please kindly reply as quick as you can.

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

You can scroll to the specified date using .scrollTo() method:

https://api.daypilot.org/daypilot-scheduler-scrollto/

Demo:
http://javascript.daypilot.org/demo/scheduler/scrolling.html

Let me know if this isn't what you are looking for.

Comment posted by MoonStar
7 years ago.

Dear Dan,

It's not work for my dp scheduler.I use similar at this link.
http://javascript.daypilot.org/scheduler/

I have changed something.In my scheduler,i show only one day(Today Date).
When i selected time for the next day,register form will appear in my dp scheduler.
After registered,only today date will show in scheduler.

That's problem,i need to show the next day in scheduler immediately after registered.

Comment posted by Dan Letecky [DayPilot]
7 years ago.

If you want to change the range that the Scheduler loads and displays you need to change .startDate property and call .update():

dp.startDate = "2016-06-28";
dp.update();
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.