Processing Indicator doesn't show up
Processing Indicator doesn't show up
KA2012
Posts: 16Questions: 0Answers: 0
Hello,
I'm using DataTables 1.9.1, with the Themeroller (headers and footers). I have bProcessing set to true, and have a string for sProcessing, but don't see the Processing indicator show up. Not sure if this shows up only for sorting, but in my case, I have an empty table, and then I load data using fnAddData. I want to display the processing indicator during the time it takes to load those rows. Not sure if sLoadingRecords should work, but I'm guessing not since I don't have "ajax" loaded data. I've also tried explicitly using the fnProcessingIndicator api to show/hide it when I want it, but it still doesn't work. Thinking maybe it's hidden for some reason, I've changed the css for .dataTables_processing to z-index:99999. Still no luck. Please help.
I'm using DataTables 1.9.1, with the Themeroller (headers and footers). I have bProcessing set to true, and have a string for sProcessing, but don't see the Processing indicator show up. Not sure if this shows up only for sorting, but in my case, I have an empty table, and then I load data using fnAddData. I want to display the processing indicator during the time it takes to load those rows. Not sure if sLoadingRecords should work, but I'm guessing not since I don't have "ajax" loaded data. I've also tried explicitly using the fnProcessingIndicator api to show/hide it when I want it, but it still doesn't work. Thinking maybe it's hidden for some reason, I've changed the css for .dataTables_processing to z-index:99999. Still no luck. Please help.
This discussion has been closed.
Replies
[code]
$('#example').dataTable( {
'sDom': 'tr',
'bProcessing': true,
'oLanguage': {
'sProcessing': 'Please wait...'
}
});
[/code]