How to add a callback for after table.ajax.reload()
How to add a callback for after table.ajax.reload()
pguardiario
Posts: 2Questions: 2Answers: 0
I want to call a function after the data loads to format it.
I'm hoping somebody has a better suggestion than setInterval.
This discussion has been closed.
Answers
Hi @pguardiario ,
There's several ways to go. You can use
xhr
to get the data before the draw, or you can use the callback function withinajax.reload()
which is called after the draw.Cheers,
Colin