getUserData

gets the user data associated with the specified event

any getUserData(string id,string name);
idstringthe event's id
namestringthe user data name
anythe user data value

Example

var eventId = scheduler.addEvent({
    start_date: "16-06-2013 09:00",
    end_date:   "16-06-2013 12:00",
    text:   "Meeting"
});
 
scheduler.setUserData(eventId, "holder", "John");
...
scheduler.getUserData(eventId, "holder");// ->"John"

See also
Back to top