getEventText

gets the event's text

string getEventText(string id);

Deprecated

instead of it, you can use

var text = scheduler.getEvent(id).text;
idstringthe event's id
stringthe event's text

Example

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

See also
Back to top