跳转到主要内容

auto_end_date

Description

当开始日期被调整时,自动更新事件的结束日期

auto_end_date: boolean

Example

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

Default value: false

Details

  • 该设置自版本 2.3 起可用。
  • 它旨在与 event_duration 选项配合使用。
  • 当设置为 true 时,在 lightbox 中调整事件的开始时间或日期会自动更新结束时间和日期,以保持由 event_duration 选项指定的事件持续时间。
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.