I use the following code to dynamically update the cell and perfect, the only thing that can be changed is the background color and text of the cell data. If this is a possible example of how to change the whole line. Thanks in advance.
$(document).ready(function (){
var table = $('#example').DataTable();
table.rows().every( function ( rowIdx, tableLoop, rowLoop ) {
var data = this.data();
console.log(data);
data[0] = '* ' + data[0];
this.data(data);
});
});
source
share