How to set the number of pages in the "numbers" paging type?

How to set the number of pages in the "numbers" paging type?

nayansufismnayansufism Posts: 4Questions: 1Answers: 0

Currently, I am setting the last page using below. However, its not being set.

dataTableapplicant').on('page.dt', function () {

    var info = $rootScope.applicantTable.page.info();
    info.pages = $rootScope.noOfPages;
This discussion has been closed.