draw processing run 3times at first in datatable code example
Example: datatable after render event
$('#element_id').DataTable({
.....
....
...
..,
fnDrawCallback: function() {
.....
....
...
}
});
$('#element_id').DataTable({
.....
....
...
..,
fnDrawCallback: function() {
.....
....
...
}
});