I am trying to update table only if data is changed.

I am trying to update table only if data is changed.

vedpvedp Posts: 1Questions: 1Answers: 0

Hi,

I am trying to update the table only if any data has been changed.I am polling my server every 5 seconds interval and passes the response to dataTable only if response code from server is 200. My problem is for 304 status code ,I am not passing any data to dataTable. For some reason paging stopped working.I am using table.ajax.reload(),to update the table. Is there any way to handle it that for 304 status code, table should not update its view.?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @vedp,

    This thread here may help. Hope that gets you going,

    Cheers,

    Colin

This discussion has been closed.