Javascript1234567891011121314var 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