Disabling all AJAX features

Disabling all AJAX features

dcouto1984dcouto1984 Posts: 1Questions: 1Answers: 0

Is it possible to disable all AJAX features and have every column sort and pagination button cause a HTTP GET and essentially, update the query string and reload the page?

Answers

  • allanallan Posts: 63,195Questions: 1Answers: 10,412 Site admin

    No, sorry. That is not a feature of DataTables. It is something i've considered before, but it isn't something I'm likely to add in the near future. It would be useful in a non-Javascript environment, but then is becomes an issue that it outside of DataTables (given that it is a Javascript library) - I think it is of limited use when Javascript is enabled.

    If you just what the back button to take the user back to the previous table state (paging etc) then you could use the draw event and update the browser's history stack. I would warn you though that most users would consider this "breaking the back button".

    Allan

This discussion has been closed.