Wijmo UI for the Web
deleteEvent Method
wijmo.evcal Namespace > wijevcal type : deleteEvent Method
Event object or event id.
Function that will be called when event is deleted.
Function that will be called when event can not be deleted.(e.g. due to data source or memory problems).
Deletes the event.
Syntax
$(function () {
    var returnsValue; // Type:  bool
    // Parameters
    var id; // Type:  number
    var successCallback; // Type:  any
    var errorCallback; // Type:  any
    
    returnsValue = $(".selector").wijevcal("deleteEvent", id, successCallback, errorCallback);
});
function deleteEvent( 
   id : number,
   successCallback : any,
   errorCallback : any
) : bool;

Parameters

id
Event object or event id.
successCallback
Function that will be called when event is deleted.
errorCallback
Function that will be called when event can not be deleted.(e.g. due to data source or memory problems).
Example
$("#wijevcal").wijevcal("deleteEvent", eventId);
See Also

Reference

wijevcal type
wijevcal jQuery Widget