title: Datatables refresh with draw(), ajax, pagination
body: <p>I'm trying to refresh my table with data from the server every few seconds.  It's loading the new data but the pagination is not working at all. By that I mean, it's one big list of the data. It's also saying <code>Showing 0 to 0 of 0 entries (filtered from NaN total entries)</code> for the pagination at the bottom of the table.</p>
  
  <p>I am using <a href="http://datatables.net/reference/api/draw()#Examples%20%60draw%60" rel="nofollow">draw(false)</a> in a <code>setInterval</code> function to achieve the refresh.  I wanted to do this without using <code>"serverSide":"true"</code> but I found that <code>draw()</code> doesn't call the <code>ajax</code> url unless I use the <code>serverSide</code> option.</p>
  
  <pre><code>function myFunction() { 
  var table1 = $("#example1").dataTable({
      "ajax": '/api/GetData',
      "serverSide": "true",
      "columns": [
          {
              "data": "DateCreated",                
          },
          { "data": "UserName" }
      ],
      "destroy": true
  });
  
  setInterval(function test() {        
      table1.draw(false);
  }, 3000);
  }
  </code></pre>
  
  <p>When I omit <code>"serverSide":"true"</code> the table is drawn correctly with the pagination but the ajax is not called with <code>draw()</code>.  How can I get the ajax data and have the pagination set correctly?</p>