스케줄러의 데이터 풀에 새 이벤트를 추가합니다.
id | string| number | 이벤트의 ID |
event | object | 이벤트 객체 |
scheduler.setEvent(1, {
start_date: new Date(2013, 05, 16, 09, 00),
end_date: new Date(2013, 05, 16, 12, 00),
text: "Meeting",
holder: "John",
room: "5"
});
scheduler.setCurrentView();
이 메서드는 addEvent와 유사하게 작동합니다.
setEvent()와 addEvent()의 주요 차이점은 다음과 같습니다: