foxlearn
  • Home
  • How to
  • Donate
  • About
  • Contact
  • Privacy

How to Rename “show XX entries” dropdown in DataTables

By Tan Lee Published on Feb 16, 2024  845
This post shows you How to Rename “show XX entries” dropdown in jQuery datatables.net

Modify your code as shown below.

$('#table').dataTable( {
    "oLanguage": {
      "sLengthMenu": "Display _MENU_ records",
    }
});

You can also change "Show" to "Display" or anything else.

Similarly for "entries" to "records"

Tan Lee

Related

  • How to add class to tr using jQuery datatable
  • How to disable sorting with jquery datatable
  • How to hide “Showing 1 of N Entries” with jQuery datatables
  • How to Change parameter used in datatables ajax url.Action on Ajax.reload
  • How to fix 'Requested unknown parameter '6' for row 0, column 6'
  • How to Add new row to datatable using jquery datatable
  • Ho to add class to column dynamically using jQuery datatable
  • How to remove no data available in table from datatable in jQuery

Categories

  • Articles121
  • C#8
  • SQL14
  • Windows Forms307
  • ASP.NET10
  • ASP.NET Core23
  • Design Patterns5
  • Source Codes1
  • Javascript3
  • Domain & Hosting2
  • Windows1
  • Visual Studio10
  • HTML Templates77
  • Crystal Reports4
  • PowerShell3
  • Entity Framework1

Popular Posts

Entity Framework Code First vs Database First vs Model First Approach
Entity Framework Code First vs Database First vs Model First Approach
 Dec 19, 2024
Freedash bootstrap lite
Freedash bootstrap lite
 Nov 13, 2024
Responsive Admin Dashboard Template
Responsive Admin Dashboard Template
 Nov 11, 2024
Material Lite Admin Template
Material Lite Admin Template
 Nov 14, 2024
Gentella Admin Template
Gentella Admin Template
 Nov 14, 2024

Copyright © 2016 - 2025 FoxLearn. All Rights Reserved

Home | Donate | About | Contact | Privacy Policy