adds a new event to the scheduler's data pool
id | string| number | the event's id |
event | object | the 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();
The method is similar to addEvent.
The difference between the setEvent() and addEvent() methods is: