简体   繁体   中英

Jquery DataTable remove pagination

I have a little problem . I want to remove auto pagination from my datatable. I have tried many way to remove it.

$('#dataTable').DataTable({
            "paging": false  or "bPaginate": false
});

in both cases it doesn't remove pagination :/

This how I remove everything from the bottom:

$("#dataTable").DataTable( {
    "bInfo" : false,
    "paging": false,
    "ordering": false,
    "searching": false
});

Try this:

$('#dataTable').DataTable( {
        "paging":   false,
        "ordering": false,
        "info":     false
    });

or https://datatables.net/examples/basic_init/filter_only.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM