Processing Spinner to appear with a deferred ajax loading

Processing Spinner to appear with a deferred ajax loading

poisonspoisons Posts: 25Questions: 3Answers: 0

I've this case, I create the Table structure in the file, with the configuration options and the column definitions. Then I load the rows with a JS function, in a success after ajax call

table.clear().rows.add(response.data).draw();

where response.data is the JSON returned from the Ajax, with all the info

Is there a way to have the processing spinner appear from when the ajax call start till I redraw the table?

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.