Show loading / processing bar using the API

Show loading / processing bar using the API

YaniYani Posts: 24Questions: 7Answers: 0

Is it possible to show the loading/processing bar using the API?
I'm handling some Ajax myself, and would like to show the user something is happening in the background.

This question has an accepted answers - jump to answer

Answers

  • idris_bengaliidris_bengali Posts: 20Questions: 3Answers: 1

    Yani, were you able to figure out how to achieve this?

  • YaniYani Posts: 24Questions: 7Answers: 0
    edited September 2017

    No, not yet. I've been working on some other things while waiting for an answer.
    I contacted Allan in regards to this question. I'm sure he'll reply soon.

  • kthorngrenkthorngren Posts: 21,304Questions: 26Answers: 4,947

    I'm not familiar with an API to do this. You could create a div to display "loading data" before your AJAX call then when complete clear the text.

    Kevin

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin
    Answer ✓

    This plug-in API method can be used to control DataTables' processing display.

    Allan

  • YaniYani Posts: 24Questions: 7Answers: 0

    Thanks Allan!

This discussion has been closed.