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