deletes the specified event
id | string| number | the event's id |
scheduler.init('scheduler_here',new Date(2009,5,30),"day");
scheduler.parse([
{id:1, start_date:"06/30/2009 09:00", end_date:"06/30/2009 12:00", text:"Task1"},
{id:2, start_date:"06/30/2009 12:00", end_date:"06/30/2009 20:00", text:"Task2"},
{id:3, start_date:"06/30/2009 08:00", end_date:"06/30/2009 12:00", text:"Task3"}
],"json");
...
scheduler.deleteEvent(3);
The method can also take the second parameter:
// removes the specified event only from the client-side
scheduler.deleteEvent(id, true);
Usually, the second parameter is used for server-error handling purposes.