Skip to main content

event_duration

Description

Sets the initial duration of events in minutes

event_duration: number

Example

scheduler.config.event_duration = 60; 
scheduler.config.auto_end_date = true;
...
scheduler.init('scheduler_here',new Date(2013,05,11),"week");

Default value: 5

Details

  • The parameter is available from version 2.3.
  • The parameter is used only in pair with the auto_end_date option.
  • If the auto_end_date option is set to true then, when you change the start event time or date in the lightbox, the end event time and date will be changed automatically in order to make the event's duration equal to the value of the 'event_duration' option.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.