title: How to get number of rows in datatable after ajax load
body: <pre><code>"ajax": {
  
          "url": "&lt;%=request.getContextPath()%&gt;/Home?value=getreqs5",
          "data": function ( json,callback) {
              var oTable = $('#fifth').dataTable();
  
              // Get the length
              var count=oTable.fnGetData().length;
           return json;
          }
        }
  </code></pre>
  
  <p>Ajax data is successfully loaded in datatable.But the number of rows showing zero. How can i get number of rows in datatable after ajax return data? </p>