The start() method returns the current event start value or sets a new one.
Declaration
DayPilot.Event.start()
DayPilot.Event.start(newStart)The new value is applied when you call DayPilot.Scheduler.events.update().
Parameters
newStart(DayPilot.Date) - new event start value.
Notes
Call the method without parameters to read the current start value. Call it with a DayPilot.Date value to update the event object before saving it back to the control.
Example
const oldStart = e.start();
e.start(new DayPilot.Date("2015-10-01T00:00:00"));See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot