How to define firstHour for the timepicker in datetime view

Hi!

To define the start and end times for the dayList, we do this, for example:

$$(’scheduler’).$$(’dayList’).define(”firstHour”, 6); $$(’scheduler’).$$(’dayList’).define(”lastHour”, 20);

How do I define these same start and end times for the timepicker part of the ‘datetext’ view?

Thanks!

Hi,

You can use hourStart and hourEnd properties of Calendar:

$$(“scheduler”).$$(“formCalendar”).define(“hourStart”,6);
$$(“scheduler”).$$(“formCalendar”).define(“hourEnd”,20);

Perfect!

Thanks very much. :smiley: