datatables draw end callback code example
Example 1: datatable after. draw
$('#example').dataTable( {
"drawCallback": function( settings ) {
alert( 'DataTables has redrawn the table' );
}
} );
Example 2: datatable after render event
$('#element_id').DataTable({
.....
....
...
..,
fnDrawCallback: function() {
.....
....
...
}
});