Reputation: 1903
I want to know whether there is any method to find out the certain page number is exists in the jquery datatable
Upvotes: 0
Views: 104
Reputation: 167220
Use this:
$(table).datatable().page.info().pages
Use this function:
function is_page_exists(table, pagenum) {
return table.page.info().pages > pagenum;
}
Upvotes: 1