Topic: Change Search Label

nikkiduck free asked 4 years ago

Possible to change Datatables "Search:" label?


Tried via custom jquery but broke search functionality.

Resources (screenshots, code snippets etc.)enter image description here

enter image description here

Mateusz Łubianka staff answered 4 years ago

Hi @nikkiduck,

You can use this code:

<script type="text/javascript">
    $(document).ready(function () {
        oLanguage: {
          "sSearch": "New Text"

Image with the result: enter image description here


Nashowan Alhadrmi free commented 1 year ago

thank you MR ENG what about (Show ) and (entries)

Grzegorz Bujański staff commented 1 year ago

You can add to the oLanguage object "sLengthMenu": "new _MENU_ text"

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.14.1
  • Device: Laptop
  • Browser: Chrome
  • OS: Mac OS Catalina
  • Provided sample code: No
  • Provided link: No