Wijmo UI for the Web
updateCalendar Method
wijmo.evcal Namespace > wijevcal type : updateCalendar Method
Calendar object. Calendar object fields: id - String, unique calendar id, this field generated automatically; name - String, calendar name; location - String, location field; description - String, calendar description; color - String, calendar color; tag - String, this field can be used to store custom information.
Function that will be called when calendar is updated.
Function that will be called when calendar can not be updated.(e.g. due to data source or memory problems).
Updates the existing calendar.
Syntax
$(function () {
    var returnsValue; // Type:  bool
    // Parameters
    var o; // Type:  object
    var successCallback; // Type:  any
    var errorCallback; // Type:  any
    
    returnsValue = $(".selector").wijevcal("updateCalendar", o, successCallback, errorCallback);
});
function updateCalendar( 
   o : object,
   successCallback : any,
   errorCallback : any
) : bool;

Parameters

o
Calendar object. Calendar object fields: id - String, unique calendar id, this field generated automatically; name - String, calendar name; location - String, location field; description - String, calendar description; color - String, calendar color; tag - String, this field can be used to store custom information.
successCallback
Function that will be called when calendar is updated.
errorCallback
Function that will be called when calendar can not be updated.(e.g. due to data source or memory problems).
Example
$("#wijevcal").wijevcal("updateCalendar", { 
name: "My calendar", 
location: "Home", 
description: "Some description",
color: "lime" 
});
See Also

Reference

wijevcal type
wijevcal jQuery Widget