title: How to add class for td in datatable when add row runtime?
body: <p>I want add class to td when get list data by ajax</p>
  
  <blockquote>
    <p>Default my code html</p>
  </blockquote>
  
  <pre><code>&lt;tr&gt;
                      &lt;td&gt;@fisrt.System_Code.Code&lt;/td&gt;
                      &lt;td&gt;@fisrt.System_Code.Caption&lt;/td&gt;
                      &lt;td class="text-success"&gt;@string.Format("{0:N0}", maden)&lt;/td&gt;
                      &lt;td class="text-danger"&gt;@string.Format("{0:N0}", den)&lt;/td&gt;
                      &lt;td class="text-warning nrt-bd" dir="ltr"&gt;@string.Format("{0:N0}", maden - den)&lt;/td&gt;
                  &lt;/tr&gt;
  </code></pre>
  
  <blockquote>
    <p>When i want get list data after filtering , i dont know how to add class </p>
  </blockquote>
  
  <pre><code>$.ajax({
                  type: 'GET',
                  url: '/Record_Professor/Search_Budget/',
                  data: { from: from, to: to },
                  success: function (results) {
                      results.forEach(function (item) {
                          $('#table_id').dataTable().fnAddData([
                              item.Code,
                              item.Caption,
                              item.Maden,
                              item.Daeen,
                              item.Balance
                          ]);
                      });
                  },
                  error: function (error) {
                      alert('error; ' + eval(error));
                  }
              });
  </code></pre>