How come fnPreDrawCallback is called twice?

How come fnPreDrawCallback is called twice?

manojthomasmanojthomas Posts: 6Questions: 0Answers: 0
edited January 2013 in General
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

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    > Is it not meant to run only once that is before the the table is drawn?

    Yes it should. Can you link to a test case showing the issue please?

    Allan
This discussion has been closed.