Infinite Scrolling only grabbing page 1 data

Infinite Scrolling only grabbing page 1 data

Fyb3roptikFyb3roptik Posts: 9Questions: 0Answers: 0
edited August 2012 in Bug reports
I have spent hours reading docu and forums to try and figure this out, but to no avail.

I am using solr to search and need to pass it an incrementing number for paging. How can I do this for datatables using infinite scrolling.

Thanks

Replies

  • Fyb3roptikFyb3roptik Posts: 9Questions: 0Answers: 0
    I need some sort of callback for bScrollInfinite
  • Fyb3roptikFyb3roptik Posts: 9Questions: 0Answers: 0
    Anyone? Why cant Infinite Scroll parse more than 1 data file?
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Try increasing the number of records shown on the first page by setting iDisplayLength to 100 or something like that. Does that allow it to work for you?

    Allan
  • Fyb3roptikFyb3roptik Posts: 9Questions: 0Answers: 0
    I have a result set of ~2800 rows. If I allow all of the rows, then it locks up the page. I wanted to use Infinite Scrolling to do an ajax call to fetch the next set of rows.
  • Fyb3roptikFyb3roptik Posts: 9Questions: 0Answers: 0
    I just edited the src on github and added these features. I sent a pull request.

    Thanks!
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Did you try setting the display length to 100 as I suggested? Also, have you enabled deferred rendering?

    Allan
This discussion has been closed.