title: jQuery datatables - display row count on table
body: <p>I have a jQuery datatable on my view and i'm using pagination to display 10, 20, 50 or 100 rows on a single page. I would like to display somewhere on the table row count. So if i have say 400 rows displayed by 10 on each page message would be Showing 1 - 10 of 400 rows. I can't seem to find how to do it.</p>
  
  <p>Solution: </p>
  
  <p>(This event fires up when data is loaded into table, i can get data length and display it where ever i want)</p>
  
  <pre><code>table = $('#MyDataTable').dataTable({
              fnDrawCallback": function (oSettings, json) {
                  console.log('Total row count on load - ', table.fnGetData().length);
              },
  </code></pre>