How to set events after a datatable ajax-load?
How to set events after a datatable ajax-load?
![bordsenius](https://secure.gravatar.com/avatar/bffd4c84a5756e4edb715fa0660ed892/?default=https%3A%2F%2Fvanillicon.com%2Fbffd4c84a5756e4edb715fa0660ed892_200.png&rating=g&size=120)
I'm loading a few thousand lines into datatables with ajax. Some of the content is html, and I want to bind the elements with jQuery .onmouseover when the page is loaded and datatables has loaded the ajax content.
Is there a "sucess"-function in the ajax-loader that I can use, I need to know when the page has been loaded completely to be able to bind the page-elements? Or is there another way of doing this in datatables?
I do not want a simple helptext/tooltip, I need to eb able to run a rater long javascript.
Is there a "sucess"-function in the ajax-loader that I can use, I need to know when the page has been loaded completely to be able to bind the page-elements? Or is there another way of doing this in datatables?
I do not want a simple helptext/tooltip, I need to eb able to run a rater long javascript.
This discussion has been closed.
Replies
look into fnDrawCallback
you could also use the fnRowCallback if you want to do things per row.