title: How can I get a class from a jQuery datatable row object?
body: <p>I have a jQuery datatable row:</p>
  
  <pre><code> table = $('#reports').DataTable()
   row = table.row(rowIndex)
  </code></pre>
  
  <p>How do I get the HTML class from it? (It is striped, and I want to find out if it is odd or even.)</p>
  
  <p>I have tried:</p>
  
  <pre><code>row.hasClass('odd')
  
  row.className
  
  row.attr('class')
  </code></pre>
  
  <p>Any ideas?</p>