특정 이벤트의 텍스트를 업데이트합니다
대신 다음과 같이 사용하세요
//새로운 텍스트 설정
scheduler.getEvent(id).text = "New text";
//변경된 텍스트를 반영하여 이벤트 박스 업데이트
scheduler.updateEvent(id);
id | string | 이벤트의 고유 식별자 |
text | string | 업데이트할 이벤트의 텍스트 내용 |
var eventId = scheduler.addEvent({
start_date: new Date(2013,1,10),
end_date: new Date(2013,1,13),
text: "Conference"
});
...
scheduler.getEvent(eventId).text = "Meeting";
scheduler.updateEvent(eventId);