getRenderedEvent

gets the object of the currently displayed event

HTMLElement getRenderedEvent(string id);

Parameters

idstringthe event's id

Returns

HTMLElement**the event's HTML object** - if the event is currently displayed in the scheduler.
**'null'** - if the event isn't displayed in the scheduler at the moment of calling the method.

Example

var eventId = scheduler.addEvent({
    start_date: "16-05-2013 09:00",
    end_date:   "16-05-2013 12:00",
    text:   "Meeting"
});
var eventObj = scheduler.getRenderedEvent(eventId);
//-> <div event_id="123649234723" ...>09:00 Meeting</div>

Details

Available from version 3.5

Back to top