jQWidgets Forums

jQuery UI Widgets Forums Plugins Data Adapter Data adapter caching

This topic contains 2 replies, has 2 voices, and was last updated by  PiDome 11 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Data adapter caching #48874

    PiDome
    Participant

    Hi,

    I have the chart wrapped in a “class” including a data adapter. Is there some caching mechanism available in the data adapter so that for example i only have to change the root and be able to refresh the data?

    
        this.dataSource = {
            datafields: [{name: 'data', type: 'float'}, {name: 'time', map: 'time', type: 'int'}],
            root: this.dataSelectSource[choiceIndex],
            record: "data",
            datatype: "xml",
            url: "http://" + this.serverLocation + "/screen/api/devicehistdata.xml?id="+this.deviceId+"&dataItem=" + this.deviceCategory
        };
        
        this.dataAdapter = new $.jqx.dataAdapter(this.dataSource);
    
    Data adapter caching #48912

    Peter Stoev
    Keymaster

    Hi johnsirach,

    No, there’s no caching implemented in the dataAdapter plugin.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Data adapter caching #48924

    PiDome
    Participant

    Hi Peter,

    Thank you for the response.

    Best regards,
    John

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.