var d = table.row('.selected').data();
d.columns = 'Your-Data';
table.rows('.selected').invalidate();
table.rows('.selected').data(d).draw();
注: d.colums 为,datatables 表中 某列的 键(key)值
参考: https://datatables.net/reference/api/row().data()
var table = $('#example').DataTable();
$('#example tbody').on( 'click', 'tr', function () {
var d = table.row( this ).data();
d.counter++;
table
.row( this )
.data( d )
.draw();
} );
// Note that row().invalidate() could also be used for this example case