This is a migrated thread and some comments may be shown as answers.

Changing the start time

2 Answers 80 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Pawel
Top achievements
Rank 1
Pawel asked on 15 Jun 2015, 10:53 AM

Hello

I want to change the start time (e.g. from 9:00 to 10:00) after the scheduler has been initialized.

Is destroying & re-creating the scheduler (http://www.telerik.com/forums/how-to-change-start-time-and-resources) still the best option?

Regards,

Pawel

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 17 Jun 2015, 08:31 AM
Hi Pawel,

This could be achieved by using the setOptions method. For example: 
scheduler.setOptions({startTime: new Date()}); //set the new startTime
scheduler.view(scheduler.view().name); //reload the current View, so that the changes are applied to it

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Pawel
Top achievements
Rank 1
answered on 17 Jun 2015, 03:07 PM

Hi Alexander,

it works perfectly - thanks.

Tags
Scheduler
Asked by
Pawel
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Pawel
Top achievements
Rank 1
Share this question
or