addEventNow

adds a new event and opens the lightbox to confirm

string addEventNow(object event);
eventobjectthe event object
stringthe event's id

Example

scheduler.addEventNow();
//or
scheduler.addEventNow({
    start_date: new Date(2013,0,10,8,30),
    end_date:   new Date(2013,0,10,10,30),
    text:   "Meeting",
    holder: "John", //userdata
    room:   "5"     //userdata
});

Related samples

Details

The event object can have the following properties:


See also
Back to top