Call processing animation

Call processing animation

asybaasyba Posts: 4Questions: 2Answers: 0
edited January 20 in Free community support

How I can call the animation processing outside the normal ajax when initialize the table?
I'm already using this:
dom: 'Biplfrtip',
processing: true,
serverSide: false,
ajax: ..
the animation Loading is showing.

but then I have a checkbox that if I click I call another ajax that adds more data to the table:
..
table.rows.add(data);
table.draw();
...
How I can trigger here the same Loading animation?
I tried doing this: table.processing( true );
but is not working:

Uncaught TypeError: table.processing is not a function
at Object.success ((index):544:21)
at c (datatables.min.js:14:25266)
at Object.fireWith [as resolveWith] (datatables.min.js:14:26015)
at l (datatables.min.js:14:77721)
at XMLHttpRequest.<anonymous> (datatables.min.js:14:80204)
at XMLHttpRequest.nrWrapper ((index):185:16507)

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.