Pagination plug-in | Automatic Pagination
Pagination plug-in | Automatic Pagination
Mehmet Çizmeci
Posts: 1Questions: 1Answers: 0
var oTable = $('#BNYTable').DataTable({pageLength: 10});
var pageInfo = oTable.page.info();
var endT = pageInfo.pages;
var totalT = 0;
var interval = setInterval(function () {
oTable.page(totalT).draw('page');
totalT++;
if (totalT === endT) {
totalT = 0;
}
}, 3000);
This discussion has been closed.
Answers
You're going to have give us some clue here, I'm afraid, and tell us what the problem is. We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin