title: Change only selected row/cell in DataTable
body: <p>I have this piece of code where table cell is edited and updated.</p>
  
  <pre><code>$.ajax({
  url: url_base + 'update',
  type: "POST",
  data: params,
  dataType: 'json', // data type
  contentType: "application/json; charset=utf-8",
  success: function(res) {
      /*var params = {};
      callFunction("getWords", params,
          function(bSuccess, res) {
              $('#example').dataTable().fnDestroy();
              var table = $('#example').DataTable({
  
                  data: res,
                  "columns": [
                      { "bSortable": false, "targets": 0, "data": 'UserWord' },
                      { "bSortable": false, "targets": 1, "data": 'UserWordAlt1' },
                      {
                          "targets": 2,
                          "data": 'UserWord',
                          "render": function(data) {
                              return '&lt;button alt="Edit" class="btn btn-primary" value="' + data + '" onclick="edit(this)"&gt;&lt;i class="far fa-edit"&gt;&lt;/i&gt;&lt;/button&gt;&amp;nbsp;' + '&lt;button class="btn btn-danger" id=' + data + ' onclick="del(this)"&gt;&lt;i class="fas fa-trash-alt"&gt;&lt;/i&gt;&lt;/button&gt;'
                          }
                      }
  
                  ],
                  "order": [
                      [1, 'asc']
                  ]
              });
          }
      );*/
      $('#updateAnliegenModal').modal('hide');
      alertify.success('New word updated successfully');
  },
  error: function(xhr, resp, text) {
      console.log(xhr)
  }
  })
  });
  </code></pre>
  
  <p>The thing is, when I update row I want to affect changes only for that row. Not to refresh the dataTable. In my current case I lost focus from that row which I am updating because table is reloaded again and rows are sorted by new data. Another problem is when I search for a specific word using the search feature of DataTable. If I want to update that found word I want to display only that searched word, not to reload the whole table.</p>
  
  <p>I commented that part where new table is reloading... Actually I am calling again the same <code>getWords</code> function which on <code>success</code> destroys the current datatable and reloads the new one.</p>