Skip to main content

getEvent

Description

Returns the event object by its id

getEvent: (event_id: string | number) => any

Parameters

  • event_id - (required) string | number - the event's id

Returns

  • obj - (object) - the 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);
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.