ajax.reload() Issues

ajax.reload() Issues

chris_nchris_n Posts: 53Questions: 3Answers: 0
edited August 2014 in Free community support

Due to the nature of usage, I am unable to provide a link to the working site. This also introduces the additional caveat of not being able to provide a fiddle or some such. However, I may be overlooking something simple, so here goes.

Issue: ajax.reload() fires successfully. The backend server passes back the data object correctly. However, the table never shows the fresh data. If processing is set to true, the processing message displays on the reload, but sticks and the table itself never refreshes: if set to false, the data just remains static and never refreshes. Firebug shows no errors during the course of any code execution.

Info:

DT ver 1.10.2
Bootstrap ver 3.2.0

Here is the page code: http://codepaste.net/iow7jv

The data object is fashioned thus:

{
    "recordsTotal":1,
    "data":[
        {
            "zone_stpt":"73",
            "cool_stpt":"73",
            "cfm":"65535",
            "load_number":"1",
            "unixtime":"1408560660",
            "description":"Foyer Heat Pump",
            "series_name":"Foyer",
            "zone_temp":"73",
            "heat_stpt":"68",
            "address":"19",
            "type":"TS"
        }],
    "recordsFiltered":1,
    "draw":1
}

Thanks,
Chris

Replies

This discussion has been closed.