fnProcessingIndicator plugin not working
fnProcessingIndicator plugin not working
Using DataTables version 1.10.0. I'm trying to use the legacy plugin that provides the fnProcessingIndicator function to hide / show the processing window. I can't get it to work, get the "fnProcessingIndicator is not a function" message in firebug. I have downloaded the fnProcessingIndicator.js file and verified it's present on the page (also verified it's presence within FireBug network section). Is this plugin still supposed to work?
I'm trying to call it using:
var dataTable = $('#userTable').DataTable({ "processing": true });
then later using:
dataTable.fnProcessingIndicator();
This question has accepted answers - jump to:
Answers
I could do with a response on this. An example of how to use this plugin would really help. It's the only issue stopping me going live with a system.
Please respond to this!!!
Firstly, I wouldn't be naming a variable dataTable.
Secondly, follow the example more closely:
http://datatables.net/plug-ins/api/fnProcessingIndicator
Hi, just make sure the dataTable() is correct as in lowercase dataTable and not DataTable.
$('#tablename').dataTable().fnProcessingIndicator();
If I use DataTable I get "Uncaught TypeError: undefined is not a function "
If I use dataTable is works.
G.
See http://datatables.net/faqs/#api
Allan