I'm insertitng in table new record with ajax, and in success I'm want update table
success: function () {
alert('Success!');
var table = $('#datatable_ajax').DataTable( {
ajax: "\/ajax\/client-objects"
} );
table.ajax.reload();
alert('Table redrawn!');
},
DataTables warning: table id=datatable_ajax - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
How I can use ajax.reload
to refresh table data ?