fnProcessingIndicator plugin not working

fnProcessingIndicator plugin not working

l0zl0z Posts: 15Questions: 1Answers: 0

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

  • l0zl0z Posts: 15Questions: 1Answers: 0

    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.

  • l0zl0z Posts: 15Questions: 1Answers: 0

    Please respond to this!!!

  • tangerinetangerine Posts: 3,143Questions: 27Answers: 366

    Firstly, I wouldn't be naming a variable dataTable.
    Secondly, follow the example more closely:

    http://datatables.net/plug-ins/api/fnProcessingIndicator

  • gbraingbrain Posts: 2Questions: 0Answers: 1
    edited May 2014 Answer ✓

    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.

  • allanallan Posts: 54,897Questions: 1Answers: 8,605 Site admin
    Answer ✓

    If I use dataTable is works.

    See http://datatables.net/faqs/#api

    Allan

This discussion has been closed.