dataTable fnUpdate row with new value

Please review the docs here http://datatables.net/api

Your question is not complete, as you need to specify what column(td) you want to modify, but here's what I would try (assuming you want to update the second column).

$('#example').dataTable().fnUpdate('Zebra' , $('tr#3692')[0], 1 );

The second parameter will be the row, and the third is the column.

Note that I passed in a string.


This works for me

var tableRow = $(this).closest('tr').index(); // GET TABLE ROW NUMBER
$('#table').dataTable().fnUpdate('Zebra', [tableRow], 1, false)

I prefer this:

var myDataTable= $('#myDataTableId').DataTable();
var row = myDataTable.row( '#idRow');
myDataTable.cell(row, 2).data("New Text").draw();

Note:

2 is column, cell inside modified row.