DT 1.10 table.ajax.reload()

DT 1.10 table.ajax.reload()

deliatordeliator Posts: 95Questions: 1Answers: 0
edited November 2017 in Free community support

I have an issue with that function.

oTable is defined at line 1
error appear after succeeded ajax call after button is pressed.

error message : Uncaught TypeError: Cannot read property 'reload' of undefined

http://live.datatables.net/rolayufe/1/

Thanks,

Marc

Replies

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    Its the top FAQ :-).

    Fix:

    var oTable = $('.dataTable').DataTable( {
    

    Allan

  • deliatordeliator Posts: 95Questions: 1Answers: 0

    Thanks Allan, read it just too late :-)

This discussion has been closed.