bencripps / react-redux-grid

A React Grid/Tree Component written in the Redux Pattern
http://react-redux-grid.herokuapp.com/
MIT License
444 stars 63 forks source link

[Question] Can we do paging by scrolling? #197

Closed cechzhou closed 6 years ago

cechzhou commented 6 years ago

I want to get remote data by scrolling, like the infinite loading, but I don't know how to send request and set data, are there some properties?

bencripps commented 6 years ago

These closest thing we have currently to infinite scroll is the stress example -- it doesn't make requests as you scroll, but it enables you load the initial set of data, and then lazy-load the rest of the records.

It will appear as though the records will have been there the whole time, and the page wont slow down even if you have thousands of records.