I want to add more data to the state everytime the data reach the end. There is no onScrollEnd event or something like this.
Is there a way to tell ReactPrime Datatable to accumulate data when the data reach the end.
I tried to have an offset and every time the event.last is equal to the offset to fetch more data and change the offset
DataTale scrollable lazy load - how to add more data only when the data end
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
I thought it only called `load` again when you reached the number of rows so if you have it set to 50 it will only call load again when you scroll to row 51.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests