How to handle infinite vertical scrolling finish event?
How to handle infinite vertical scrolling finish event?
javadshareefma
Posts: 3Questions: 0Answers: 0
Hi Friends,
I need to handle infinite vertical scrolling loading finish event. My requirement is to send an Ajax call to my server when users viewed all populated data table records .
I need to handle infinite vertical scrolling loading finish event. My requirement is to send an Ajax call to my server when users viewed all populated data table records .
This discussion has been closed.
Replies
Allan
What I mean is, Say I have a 500 records in my table and user should go through these 500 records before going to next stage. I am using server side processing for generate data source as like data source processed in http://www.datatables.net/examples/data_sources/server_side.html, and using infinite vertical scrolling. So, I need to handle data source loading finish event to trigger an Ajax call.
You can tell when the Ajax has completed by using the `xhr` event - http://datatables.net/docs/DataTables/1.9.4/#xhr . But I don't know if that is what you want.
Allan
Yes. This is exactly I want. [code]xhr[/code] event will solve my issue. Thanks for your help.
Regards,
Javad Shareef