How can I edit/change the text of "No data available in table" ?

How can I edit/change the text of "No data available in table" ?

rasheedahamedrasheedahamed Posts: 2Questions: 1Answers: 0

When the table returns empty rows, I would like to change the default text displayed i.e.,"No data available in table" into something like "No tickets available" or "No open incidents available". How to change it?

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi @rasheedahamed ,

    That's just an initialisation option - language.emptyTable,

    Cheers,

    Colin

  • rasheedahamedrasheedahamed Posts: 2Questions: 1Answers: 0

    Thanks @colin . It worked.

  • BregtvandenberghBregtvandenbergh Posts: 3Questions: 0Answers: 0

    Hi, when i change any of the initialisation options, i don't see the result. It status the same even after reboot wamp server.

    Why would this be?

    Kind regards

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • BregtvandenberghBregtvandenbergh Posts: 3Questions: 0Answers: 0

    Hi Colin, I Will try tot provide this (early beginner).i'm adjusting a PHP web app And manually translated the app already but when changing the datatables.js And datatables.min.js i didn't work. Ik hope i can find a way to give you an example.

    Thnx

  • BregtvandenberghBregtvandenbergh Posts: 3Questions: 0Answers: 0

    Hi guys, me again, problem solved. Ik was editing the wrong *.min.js. sorry and thanks

This discussion has been closed.