jquery - Dynatable callback function not working -
I'm trying to generate the event dynatable , I have tried < code> $ ('# my-final-table hr'). On ("click", function () {warning ("foo");});
"}, {" Band ":" chaalel "," song ":" family system "}]; $ ('# My-final-table') dynatable ({dataset: {record: jsondata}}) .bind ('dynatable: afterprocess', function () {warning ('foo')});
But this does not work, no warning is shown after loading. JSFiddle:
In the example, they manually call post process from the dynatable website Let's run it for the first time. Something looks like this for your code:
var processingComplete = function () {alert ('foo')}; $ ('# My-final-table') dynatable ({dataset: {record: jsondata}}). Bind ('dynatable: afterprocess', processing complete); // Process manually for the first time (); If you want to see it in Bela, check here:
If you are interested in dinatable code then I am mentioning this:
$ table.dynatable ({// settings and code here}). Bind ('dynatable: afterprocess', updateChart); // First time to run our updated cheat function. UpdateChart (); Good luck!
Comments
Post a Comment