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

See Also

Reference

wijevcal type
wijevcal jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.