how to remove pagination in datatable

Toseef Khilji picture Toseef Khilji · Jul 24, 2013 · Viewed 191.8k times · Source

I am new in jQuery. I have used Datatables in grid but need not pagination.

There is a list of orders in one page and I show them in a Datatable grid but in bottom I do not want to show pagination. Is there any way to remove or hide pagination from the data table by using a bit customization on the jQuery library.

enter image description here

I tried to customize it but I found very few methods to do it..

Thanks in advance.

Answer

nstCactus picture nstCactus · Jul 24, 2013

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