How to set events after a datatable ajax-load?
How to set events after a datatable ajax-load?
bordsenius
Posts: 5Questions: 0Answers: 0
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.