title: How to ignore <td> inside column data - datatables?
body: <p>I have a function that opens a excel application and populated the excel with the data present in datatables. Everything works fine until the data contains <code>&lt;td&gt;</code> in them, in that case the data is not written in proper format (since it assumes that the <code>&lt;td&gt;</code> present inside the column data is a datatable column).</p>
  
  <p>This is the function I use to create a excel document.</p>
  
  <pre><code>$(dTable.fnSettings().aoData).each(function () {
  $(this.nTr).each(function (c) {
  var nTds = $('td', this);
  for (var j = 0; j &lt; nTds.length; j++) {
  excel.ActiveSheet.Cells(i + 3, j + 1).Value = $(nTds[j]).text();
  };
  i = i + 1;
  });
  </code></pre>
  
  <p>Is there a way to get <code>&lt;TD&gt;</code> of just the datatables column and not other td's? </p>