Is there a way to determine when ajax.reload() is complete?
Is there a way to determine when ajax.reload() is complete?
DevIcy
Posts: 4Questions: 2Answers: 0
I am running a function to detect the changes made after a table is redrawn, but since it's running asynchronous it will not work properly unless I set timers... not a great solution. Is there a way I can call table.ajax.reload(); and then once that is complete run a function?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes,
ajax.reload()
has a callback function option that you can use.Allan
[edited]
Thank you Allan, I initially tried that API but didn't get it to work, upon a retry it is now working