How to run function on table update?

How to run function on table update?

teocomiteocomi Posts: 1Questions: 0Answers: 0
edited September 2010 in General
Hello everybody, excuse me but I couldn't find this in the examples and in the forum..
How can I run a function on every table update?
I tried this but it's not working:

[code]
$(document).ready(function() {

$('#table-gps').dataTable({
"fnDrawCallback": function () { ... }
}
[/code]
Thanks folks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The code is slightly incomplete - which I'm sure you release - but that should be it: http://datatables.net/usage/callbacks#fnDrawCallback

    Allan
This discussion has been closed.