본문으로 건너뛰기

setUserData

Description

특정 이벤트에 사용자 데이터를 할당합니다

setUserData: (id: string, name: string, value: any) => void

Parameters

  • id - (required) string - 이벤트의 고유 식별자
  • name - (required) string - 사용자 데이터의 키
  • value - (required) any - 사용자 데이터 키와 연관된 값

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.setUserData(eventId, "room", 5);
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.