on table.ajax.reload() Data Table update necessary row column

on table.ajax.reload() Data Table update necessary row column

KSelva92KSelva92 Posts: 2Questions: 1Answers: 0
edited May 2016 in Free community support

I want to update the necessary row column only, when table.ajax.reload() happens, i already tried https://github.com/jhyland87/DataTables-Live-Ajax but it is not worth for serverSide: true, so kindly suggest me to find some library or give some ideas to achieve, thanks a lot for reading this, i will thankful if you give some ideas,

Answers

  • allanallan Posts: 64,090Questions: 1Answers: 10,569 Site admin

    ajax.reload() will always reload the whole table. If you only want to modify rows which have changed values you would need to use row().data() and some custom code to check if the row needs to be updated or not.

    Allan

  • KSelva92KSelva92 Posts: 2Questions: 1Answers: 0

    will you please give me sample of ajax.reload() in setTimeOut() which update only the necessary row that have been updated in new json result.

  • allanallan Posts: 64,090Questions: 1Answers: 10,569 Site admin

    Delighted to - the Quick Support 60 option would cover that.

    Allan

This discussion has been closed.