본문으로 건너뛰기

updateEvent

Description

지정된 이벤트를 수정합니다.

updateEvent: (id: string) => void

Parameters

  • id - (required) string - 이벤트의 id

Example

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

scheduler.getEvent(eventId).text = "Conference"; // 이벤트 세부 정보를 업데이트합니다.
scheduler.getEvent(id).start_date = new Date(); // 시작 날짜를 변경합니다.
scheduler.updateEvent(id); // 업데이트된 이벤트를 다시 그립니다.
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.