Repository navigation
Infinite Scroll without hitting the bottom of the list #815
Replies: 1 comment
|
The infinite scroll demo The gist of it is the PlutoInfinityScrollRows class, which triggers a specified fetch callback function (e.g., createFooter: (s) => PlutoInfinityScrollRows(
// First call the fetch function to determine whether to load the page.
// Default is true.
initialFetch: true,
// Decide whether sorting will be handled by the server.
// If false, handle sorting on the client side.
// Default is true.
fetchWithSorting: true,
// Decide whether filtering is handled by the server.
// If false, handle filtering on the client side.
// Default is true.
fetchWithFiltering: true,
fetch: doFetch,
stateManager: s,
),I changed |
Uh oh!
There was an error while loading. Please reload this page.
Currently it looks like there is only createFooter and createHeader options in PlutoGrid, is there a way to update based on the scroll itself to do infinite scrolling behind the scenes without any lag when someone gets to the bottom of the list?
All reactions