unselect

unselects the specified event

void unselect( [string id] );
idstringthe event's id (if not specified, the currently selected event will be unselected)

Example

var eventId = scheduler.addEvent({
    start_date: "16-06-2013 09:00",
    end_date:   "16-06-2013 12:00",
    text:   "Meeting"
});
 
scheduler.select(eventId);
 
scheduler.unselect();

See also
Back to top