I included my server-side processing DataTables in jQuery UI TABS but after integration the processing info does not show up anymore :(
This stackoverflow.com post writes something about a hidden "Processing..."-Div.
Is it possible that my case matches a "z-index" problem?
This is the DataTables code :
$(document).ready(function() {
$('#example').DataTable( {
"processing": true,
"serverSide": true,
"ajax": {
"url": "ajax_ssp_class.php",
"type": "GET"
},
"order": [ [0,'asc'] ],
"paging":true,
"pagingType": "simple_numbers",
"pageLength": 50,
"lengthMenu": [[50, 100, 250, -1], [50, 100, 250, "All"]],
"lengthChange": true
} );
});
The proof whether the div is existent is tested as true:
<div id="example_processing" class="dataTables_processing" style="display: block; z-index: 10000;">Processing...</div>
THE SOLUTION
I added the following line to the pre-drawing. Now it works.
"fnPreDrawCallback":function(){
//alert("Pre Draw");
$('#example_processing').attr('style', 'font-size: 20px; font-weight: bold; padding-bottom: 60px; display: block; z-index: 10000 !important');
}
$('.dataTables_processing').css("visibility","visible");
– Headstone