title: How can I add class for <tr> in DataTables?
body: <p>I trying to get value from each row with <code>&lt;tr class="bill-row"&gt;</code> in datatable. so how do I set <code>class="bill-row"</code> in datatables ? so I can call ech row with </p>
  
  <pre><code>var row = $(".bill-row");
  
              row.each(function(i) {
                  data.bill_number.push($("[name='bill_number[]']", this).val());
                  data.service_charge.push($("[name='service_charge[]']", this).inputmask('unmaskedvalue'));
                  // data.water_usage.push($("[name='water_usage[]']", this).inputmask('unmaskedvalue'));
                  data.meteran_akhir_air.push($("[name='meteran_akhir_air[]']", this).inputmask('unmaskedvalue'));
                  data.meteran_akhir.push($("[name='meteran_akhir[]']", this).inputmask('unmaskedvalue'));
  </code></pre>
  
  <p>set class to datatable like this </p>
  
  <pre><code>&lt;tr class="bill-row" role="row"&gt;
    &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>default datatable </p>
  
  <pre><code>&lt;tr role="row"&gt;
    &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>here's is my datatable to set class for <code>&lt;tr&gt;</code> but doesnt working</p>
  
  <pre><code>    createdRow: function( row, data, dataIndex ) {
          $(row).addClass('bill-row');
      },
  </code></pre>