deferred loading datatables code example
Example: datatable loading
Spinner Example
$(document).ready(function() {
var table = $('#table_id').DataTable({
"language": {
"processing": '<i class="fa fa-spinner fa-spin" style="font-size:24px;color:rgb(75, 183, 245);"></i>'
}
});
});