shows and highlights the specified event in the current or specified view
id | string | the event's id |
view | string | the view name |
//shows the event with 'id=someId' in the Week view
scheduler.showEvent(someId,"week");
//shows the event with 'id=someId' in the currently active view
scheduler.showEvent(someId);
For example, you programmatically add a new event and want to show it in the scheduler:
var eventId = scheduler.addEvent({
start_date: "08-06-2013 09:00",
end_date: "08-06-2013 11:00",
text: "Meeting"
});
...
scheduler.showEvent(eventId);
Back to top