Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82402

ajax.reload is not a function

$
0
0
var MBGDATATABLE = $('#MBG_ALS_USERS').DataTable({ ... });

MBGDATATABLE.ajax.reload();

So i had this code and it has been working perfectly fine... Then, I realized that whenever I update the table while on a certain page except page number 1, the table redirects on the page number 1.

To fix this, I revised the reload as per the documentation:

MBGDATATABLE.ajax.reload(null, false);

All of a sudden, it doesn't update anymore and it displays "Uncaught TypeError: MBGDATATABLE.ajax.reload is not a function". I tried to undo the change and returned to the original code. Same error. I didn't change anything except this line on all of my pages that have ajax.reload. Any idea?


Viewing all articles
Browse latest Browse all 82402


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>