Wijmo UI for the Web
dataStorage Option
wijmo.evcal.wijevcal Namespace > options type : dataStorage Option

Data storage methods. Use this option in order to implement custom data storage layer.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijevcal("option", "dataStorage");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijevcal("option", "dataStorage", newValue);
        
});
var dataStorage : object;
Example
$("#eventscalendar").wijevcal(
  { dataStorage: {
      addEvent: function(obj, successCallback, errorCallback) {
      },
      updateEvent: function(obj, successCallback, errorCallback) {
      },
      deleteEvent: function(obj, successCallback, errorCallback) {
      },
      loadEvents: function(visibleCalendars, 
          successCallback, errorCallback) {
      },
      addCalendar: function(obj, successCallback, errorCallback) {
      },
      updateCalendar: function(obj, successCallback, errorCallback) {
      },
      deleteCalendar: function(obj, successCallback, errorCallback) {
      },
      loadCalendars: function(successCallback, errorCallback) {
      }
  });
See Also

Reference

options type
wijevcal jQuery Widget