fnReloadAjax to work with fnStateLoadCallback, fnInitComplete

fnReloadAjax to work with fnStateLoadCallback, fnInitComplete

andrew2311andrew2311 Posts: 11Questions: 0Answers: 0
edited January 2012 in DataTables 1.8
I'm trying out fnReloadAjax and note that it doesn't call fnStateLoadCallback or fnInitComplete is this intended?

If so, is there a way for me to call them manually?

Replies

  • allanallan Posts: 61,864Questions: 1Answers: 10,136 Site admin
    > I'm trying out fnReloadAjax and note that it doesn't call fnStateLoadCallback or fnInitComplete is this intended?

    Yes - you are not re-initialising the table with fnReloadAjax, so it doesn't call the state saving functions.

    What is it that you want to do? I presume you want to keep it on the current page, for which fnReloadAjax has a standing redraw option. And for fnInitComplete (which is only ever called once during the life time of a table) you could call your function "manually".

    Allan
This discussion has been closed.