getEvent

returns the event object by its id

object getEvent(string|number event_id);
event_idstring|numberthe event's id
objectthe event object

Example

var eventId = scheduler.addEvent({
    start_date: "16-05-2013 09:00",
    end_date:   "16-05-2013 12:00",
    text:   "Meeting"
});
... 
var eventObj = scheduler.getEvent(eventId);

Related samples

Back to top