Skip to main content

setEventText

warning

The method is deprecated.

Description

Sets the event's text

setEventText: (id: string, text: string) => void

Parameters

  • id - (required) string - the event's id
  • text - (required) string - the new text of the event

Example

var eventId = scheduler.addEvent({
start_date: new Date(2013,1,10),
end_date: new Date(2013,1,13),
text: "Conference"
});
...
scheduler.getEvent(eventId).text = "Meeting";
scheduler.updateEvent(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.