fnReloadAjax doesn't work with bServerSide set to true

fnReloadAjax doesn't work with bServerSide set to true

moshfeghmoshfegh Posts: 2Questions: 0Answers: 0
edited February 2013 in Bug reports
Hello,

I'm using DataTables 1.9.4 along with fnReloadAjax plugin. I've set bServerSide to true and the data table is initialized properly when the page loads. I have a drop-down list that allows the user to filter the results. I've added a change handler for this drop-down list in which I use fnReloadAjax as follows:

oTable.fnReloadAjax();

However, the ajax call does not include all the extra parameters for specifying the current page, page length, sort order, etc.

Any help would be appreciated.

Mosh

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    fnReloadAjax is useless with server-side processing. Just call fnDraw since it does a server get every time.

    Allan
This discussion has been closed.