Preserving Current Pagination using fnReloadAjax() Plug-in

Preserving Current Pagination using fnReloadAjax() Plug-in

dtlewisdtlewis Posts: 7Questions: 0Answers: 0
edited January 2012 in Plug-ins
I am using the fnReloadAjax() Plug-in to reload my table periodically. I'm looking for a way to preserve the current page after each reload. For example, if I am viewing page 3 and fnReloadAjax is called, I will be taken back to page 1. Any ideas would be greatly appreciated.

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    fnReloadAjax actually has an option for this built in - the third parameter "bStandingRedraw" can be set to true to cause a "standing redraw" (i.e. keep it not he same page).

    Allan
  • dtlewisdtlewis Posts: 7Questions: 0Answers: 0
    Perfect, thanks for the help!
This discussion has been closed.