Pagination plug-in | Automatic Pagination

Pagination plug-in | Automatic Pagination

Mehmet ÇizmeciMehmet Çizmeci Posts: 1Questions: 1Answers: 0
edited April 2018 in Free community support
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);

Answers

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

    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

This discussion has been closed.