How come fnPreDrawCallback is called twice?
How come fnPreDrawCallback is called twice?
manojthomas
Posts: 6Questions: 0Answers: 0
I have got a datatable that gets data using sAjaxSource, hence each page is a new request to the server. I wanted to check something before the rendering of each page, so I used fnPreDrawCallback for that purpose. But the problem is the code that I have got in fnPreDrawCallback is run twice,once before the table is drawn and then after. Is it not meant to run only once that is before the the table is drawn? Or am I doing it wrong by calling the wrong method? please advice,thank you
This discussion has been closed.
Replies
Yes it should. Can you link to a test case showing the issue please?
Allan