Wijmo UI for the Web
dataStorage Option

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

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijevcal("option", "dataStorage");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijevcal("option", "dataStorage", newValue);
        
});
Javascript (Specification) 
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) {
    }
});
Browser Compatibility
7
5
5

See Also

Reference

options type
wijevcal jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.