setEventText

특정 이벤트의 텍스트를 업데이트합니다

void setEventText(string id,string text);

Deprecated

대신 다음과 같이 사용하세요

//새로운 텍스트 설정
scheduler.getEvent(id).text = "New text";
//변경된 텍스트를 반영하여 이벤트 박스 업데이트
scheduler.updateEvent(id);
idstring이벤트의 고유 식별자
textstring업데이트할 이벤트의 텍스트 내용

Example

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);

See also
맨 위로