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
const eventId = scheduler.addEvent({
start_date: "16-05-2027 09:00",
end_date: "16-05-2027 12:00",
text: "Meeting"
});
...
const eventObj = scheduler.getEvent(eventId);
Related samples
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.