show new row in datatable real time code example
Example: datatables on row created
$('#example').DataTable( {
createdRow: function ( row, data, index ) {
// row = tr node
// data = raw data (array or obj)
// index = The index of the row in DataTables' internal storage.
$(row).addClass('highlight');
}
} );