getUserData
Description
Gets the user data associated with the specified event
getUserData: (id: string, name: string) => any
Parameters
id- (required) string - the event's idname- (required) string - the user data name
Returns
value- (any) - the 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"
Related API
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.