how to remove pagination in datatable how to remove pagination in datatable jquery jquery

how to remove pagination in datatable


You should include "bPaginate": false, into the configuration object you pass to your constructor parameters. As seen here: http://datatables.net/release-datatables/examples/basic_init/filter_only.html


DISABLE PAGINATION

For DataTables 1.9

Use bPaginate option to disable pagination.

$('#example').dataTable({    "bPaginate": false});

For DataTables 1.10+

Use paging option to disable pagination.

$('#example').dataTable({    "paging": false});

See this jsFiddle for code and demonstration.

REMOVE PAGINATION CONTROL AND LEAVE PAGINATION ENABLED

For DataTables 1.9

Use sDom option to configure which control elements appear on the page.

$('#example').dataTable({    "sDom": "lfrti"});

For DataTables 1.10+

Use dom option to configure which control elements appear on the page.

$('#example').dataTable({    "dom": "lfrti"});

See this jsFiddle for code and demonstration.


It's working

Try below code

$('#example').dataTable({    "bProcessing": true,    "sAutoWidth": false,    "bDestroy":true,    "sPaginationType": "bootstrap", // full_numbers    "iDisplayStart ": 10,    "iDisplayLength": 10,    "bPaginate": false, //hide pagination    "bFilter": false, //hide Search bar    "bInfo": false, // hide showing entries})