Closed wenvid closed 8 years ago
var pagination = jQuery('.pagination').data('twbsPagination');
pagination.options.totalPages = 10;
// now we need to re-render, this can be done with change page to other. or by manually calling render/setupEvents
var pageToShow = 3; // put your active page number for example
pagination.show(pageToShow);
how to set the new totalPages after the twbsPagination inited?