title: Jquery Datatable - AJAX- No records handler
body: <p>I am loading data into my datatable using ajax. This is the code:</p>
  
  <pre><code>$('#datatable').dataTable( {
  
  "responsive": false,
  "pageLength": 25,
  "ajax": "/pull",
  } );
  </code></pre>
  
  <p>And everything works good ,but if there are no records from the server I see the alert. So, I don't want to see it and I am using the following code to catch the error: </p>
  
  <pre><code>$.fn.dataTable.ext.errMode = function ( settings, helpPage, message ) { 
              console.log(message);
          };
  </code></pre>
  
  <p>and it works perfect, but I still see "loading..." message in datatable. Is there a way to change this message if there are no records from the server ? was trying to use </p>
  
  <pre><code>"language": { "emptyTable": "My Custom Message On Empty Table" }
  </code></pre>
  
  <p>But it doesn't work, I still see the "loading..." in the middle of the table.</p>
  
  <p>Will be thankful for your support,</p>
  
  <p>Thanks in advance,</p>