title: update DataTables row data
body: <p>I have used datatable for my website.</p>
  
  <p>Now whenever I update any data for any single record I just update that row data using ajax like:</p>
  
  <p><strong>HTML is like:</strong></p>
  
  <pre><code>&lt;table class="datatable"&gt;
      &lt;tr id="user_row_1"&gt;
          &lt;td&gt;Name 1&lt;/td&gt;
          &lt;td&gt;Role 1&lt;/td&gt;
          &lt;td&gt;XYZ 1&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr id="user_row_2"&gt;
          &lt;td&gt;Name 2&lt;/td&gt;
          &lt;td&gt;Role 2&lt;/td&gt;
          &lt;td&gt;XYZ 2&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr id="user_row_3"&gt;
          &lt;td&gt;Name 3&lt;/td&gt;
          &lt;td&gt;Role 3&lt;/td&gt;
          &lt;td&gt;XYZ 3&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p><strong>Jquery is like:</strong></p>
  
  <pre><code>oTable = $(".datatable").DataTable();
  ....
  $("#user_row_3").html(response);
  </code></pre>
  
  <p><strong>Ajax response code:</strong></p>
  
  <pre><code>&lt;td&gt;Name 3 Updated&lt;/td&gt;
  &lt;td&gt;Role 3 Updated&lt;/td&gt;
  &lt;td&gt;XYZ 3 Updated&lt;/td&gt;
  </code></pre>
  
  <p><strong>Problem</strong></p>
  
  <p>but when I retrieve the data using datatable api like:</p>
  
  <pre><code>var table = $('#user-list').DataTable();
  var rowData= table.row('#user_row_160').data();
  $.each($(rowData),function(key,value){
      console.log(value["name"]); 
  });
  </code></pre>
  
  <p>it returns the older data.</p>
  
  <p>So how to update datatable row exactly.</p>