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

Parameters

o
Calendar id, name or calendar object.
successCallback
Function that will be called when calendar is deleted.
errorCallback
Function that will be called when calendar can not be deleted.(e.g. due to data source or memory problems).
Example
$("#wijevcal").wijevcal("deleteCalendar", "My calendar");
See Also

Reference

wijevcal type
wijevcal jQuery Widget