Infinite Scrolling with Server Side Processing using POST
Infinite Scrolling with Server Side Processing using POST
JerAnderson
Posts: 3Questions: 0Answers: 0
I really like the the infinite scrolling option (http://datatables.net/examples/api/infinite_scroll.html), but I'm a little confused as to how to implement it when I'm getting data from the server using POST. The example shows to add a start and length parameter to the server side processing URL, and that makes sense. Using POST, I'm guessing I'd just need to call fnServerData from the setup of the DataTable - but that function expects three parameters, sSource, aoData, and fnCallback. aoData looks like the object with all my search, sorting, paging, and other parameters included, but I'm not sure where to get it from. Has anyone tried this before?
This discussion has been closed.
Replies