title: How to get row index in Datatables?
body: <p>I used following javascript to get row index. By using this the ID(table header) always starts with 1 in case next 10 values are selected in every page.i need to show next 10 as 11 to 20. Thank you very much..</p>
  
  <pre><code>  $(document).ready(function() {
               $('#example').dataTable( {
                  "processing": true,
          "serverSide": true,
                  "ajax": "scripts/server_processing.php",
  
                  "aoColumns": [
                      {
                          "sTitle": "ID"},
  
                      {
                          "sTitle": "E Mail"},
                      {
                          "sTitle": "FirstName"},
                      {
                          "sTitle": "LastName"},
                      {
                          "sTitle": "Company"},
                      {
                          "sTitle": "Course"},
                      {
                          "sTitle": "Module"},
                      {
                          "sTitle": "Completions"},
                      {
                          "sTitle": "First"},
                      {
                          "sTitle": "Last",
                          "sClass": "center"},
                      {
                          "sTitle": "Lowest"},
                      {
                          "sTitle": "Highest",
                          "sClass": "center"},
  
  //                    {
  //                        "sTitle": "#"},
                  ],
  
                   "fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
                       var index = iDisplayIndex +1;
                       $('td:eq(1)',nRow).html(index);
                       return nRow;
                   }
  
  
              });
  
  
          });
  </code></pre>