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 |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions