Showing custom message in jquery datatable while loading data?

datatables, jquery-ui

Solution

 "oLanguage": {
          "sProcessing": "loading data..."
   } 

works for me and also suggested in dataTable Api's http://datatables.net/ref. Just check whether you are putting at right place. Otherwise you can also try fnPreDrawCallback and fnDrawCallback

Problem

I have below code in jsp to create a dataTable. I am using bProcessing as true which displays the 'processing' indicator till i get the data from the server. I want to show the message as "loading data.." instead of 'processing'. I tried using sProcessing as suggested on various sites but it does not work? ``` customersTable = $('cutomer').dataTable({ "sAjaxSource": "ajax url", "bProcessing":true, "bDeferRender": true, "sServerMethod": "POST", "oLanguage": { "sProcessing": "loading data..." } }); ```

Original source