API ajax.reload() loses page
API ajax.reload() loses page
morissette
Posts: 16Questions: 4Answers: 1
How do I keep on the same page with ajax.reload()?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Okay im stupid. Sorry. true => false in reload params
Good to hear you got a fix. For anyone else interested, the documentation for this method is here:
ajax.reload()
.Allan
Hi,
I'm trying this datatable.ajax.reload() function. But I tried several different ways, can't get it working. In the firebug console, I can see the http GET successfully get the data back from the server every 5 secs. However, in the web page, the data table doesn't re-draw. Just showing a msg saying "Processing...". Any idea what I did wrong?
Thank you very much!
Joe
I found the problem. It's on the server side. My bad. I always give a "draw: 1" in the server response. After I remove "draw" parameter, everything is fine.
Thank you very much for the great data table lib!!