Wijmo UI for the Web
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
Javascript (Usage) 
$(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);
});
Javascript (Specification) 
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);
Browser Compatibility
7
5
5

See Also

Reference

wijevcal type
wijevcal jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.