DataTable mendapatkan nomor halaman
let table = $('#example').DataTable();
let info = table.page.info().page;
Prickly Puffin
let table = $('#example').DataTable();
let info = table.page.info().page;
$('#table').DataTable().api().page(1).draw(false);//the page is 0-indexed