user4287698
user4287698

Reputation:

DataTable : How to hide "Showing # to # of # entries (filtered from # total entries)"?

I am using DataTable on my application.

I want to hide the detail in the bottom left, how do I do that ?

"Showing 1 to 10 of 1,657 entries (filtered from 9,044 total entries)"

Here is my settings :

$('#inventory_related').dataTable({

    "lengthMenu": [ 10 ] ,
    "bLengthChange": false,
    "searchHighlight": true


  });

Upvotes: 4

Views: 8972

Answers (4)

srivastava Vishal
srivastava Vishal

Reputation: 1

$('#inventory_related').dataTable({

    "lengthMenu": [ 10 ] ,
    "bLengthChange": false,
    "searchHighlight": true,
    "bInfo" : false

  });

Upvotes: 0

Kaushal Roy
Kaushal Roy

Reputation: 189

$('#tbl-my-queue').DataTable( { "language": {
"infoFiltered": "" }, });

Add infoFiltered option as blank

Upvotes: 3

Dan
Dan

Reputation: 830

Newer version of the DataTable now uses "info" : false as opposed to the previous "bInfo" : false

Upvotes: 4

user4287698
user4287698

Reputation:

Add this to my setting "bInfo" : false.

Final Setting should look like this :

 $('#inventory_related').dataTable({

    "lengthMenu": [ 10 ] ,
    "bLengthChange": false,
    "searchHighlight": true,
    "bInfo" : false

  });

Upvotes: 2

Related Questions