updateEvent

updates the specified event

void updateEvent(string id);

Parameters

idstringthe event's id

Example

var eventId = scheduler.addEvent({
    start_date: "16-06-2013 09:00",
    end_date:   "16-06-2013 12:00",
    text:   "Meeting"
});
 
scheduler.getEvent(eventId).text = "Conference"; //changes event's data
scheduler.updateEvent(eventId); // renders the updated event

Related samples

See also
Back to top