Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change wording of pagination information in jQuery Datatable

This may have already been asked, but I can't seem to find an answer. I am looking to change the wording of the footer of a jQuery datatable where it says "Showing 0 to 0 of 0 entries" to simply be "0 entries". Thank you for your help!

like image 266
C LaBelle Avatar asked Oct 28 '25 09:10

C LaBelle


1 Answers

As of v1.10, you can use the language configuration option, e.g.

$('#example').dataTable({
  "language": {
    "info": "_TOTAL_ entries",
    "infoEmpty": "0 entries"
  }
});
like image 61
Moby Duck Avatar answered Oct 29 '25 23:10

Moby Duck