table.page.info().page.length code example Example: datatable get page number let table = $('#example').DataTable(); let info = table.page.info().page;