How to hide Pagination in Datatable with Example?-2024

There are some examples are given below, how to hide pagination in the data table.

Datatable without pagination

$(document).ready(function() {
    $('#example').DataTable( {
        "paging":   false,
        "ordering": false,
        "info":     false
    } );
} );

Datatable with pagination

$(document).ready(function() {
    $('#example').DataTable();
} );

Discover more from STRUGGLER KING.COM

Subscribe now to keep reading and get access to the full archive.

Continue Reading