title: DataTable fnFooterCallback summing columns
body: <p>I have problem with summing columns using jQuery DataTable fnFooterCallback. For example i have values in column (double fields):</p>
  
  <p>2.0
  3.0
  4.0</p>
  
  <p>I get total value in footer cell:
  2.0
  3.0
  4.0
  instead 9.0
  What's wrong?</p>
  
  <p>Here is the code:</p>
  
  <pre><code>    $(document).ready(function() {
          $('#example').dataTable({
              "fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
  
                  var iTotal = [0,0,0,0,0,0,0,0,0];
                   for ( var i=0 ; i&lt;aaData.length ; i++ )
                      {
                          iTotal[0] += aaData[i][5];
                          iTotal[1] += aaData[i][6];
                          iTotal[2] += aaData[i][7];
                          iTotal[3] += aaData[i][8];
                          iTotal[4] += aaData[i][9];
                          iTotal[5] += aaData[i][10];
                          iTotal[6] += aaData[i][11];
                          iTotal[7] += aaData[i][12];
                      }
  
                   var nCells = nRow.getElementsByTagName('th');
                      nCells[5].innerHTML=iTotal[0];
                      nCells[6].innerHTML=iTotal[1];
                      nCells[7].innerHTML=iTotal[2];
                      nCells[8].innerHTML=iTotal[3];
                      nCells[9].innerHTML=iTotal[4];
                      nCells[10].innerHTML=iTotal[5];
                      nCells[11].innerHTML=iTotal[6];
                      nCells[12].innerHTML=iTotal[7];
              } 
          }
      );
      } );
  </code></pre>
  
  <p>Thanks for help and sorry for my english :)</p>