Answers for "datatable set page number"

1

datatable get page number

let table = $('#example').DataTable();
let info = table.page.info().page; 
Posted by: Guest on February-28-2020
1

datatable set page number

$('#table').DataTable().api().page(1).draw(false);//the page is 0-indexed
Posted by: Guest on July-30-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language