datatables update data on change code example
Example 1: datatable on change event jquery
$('#dataTable').on( 'click', 'td', function () {
// source code
});
Example 2: datatables modify rows
const table = $("#tableId").DataTable();
table.rows().every( function() {
const node = this.node(); // html node -- tr
const row = $(node).find('td:eq(2)'); // 3rd (0-index) column -- td
}