sets the event's start date
instead of it, you can use
//to set new end date
scheduler.getEvent(id).start_date = new Date();
//to update visible event box after it
scheduler.updateEvent(id);
id | string | the event's id |
date | Date | the new start date of the event |
var eventId = scheduler.addEvent({
start_date: new Date(2013,1,10),
end_date: new Date(2013,1,13),
text: "Conference"
});
...
scheduler.getEvent(eventId).start_date = new Date(2013,1,09);
scheduler.updateEvent(eventId);