Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pagination with infinite scrolling> A combination of progressive and pagination #4683

Open
J-Juan-git opened this issue Feb 5, 2025 · 0 comments
Labels
Suggested Feature A suggested feature that is waiting review

Comments

@J-Juan-git
Copy link

Is your feature request related to a problem? Please describe.*
Currently, when using remote pagination with a large dataset (e.g., 50,000+ records), it takes a significant amount of time to fetch data (via remote pagination) and populate the Tabulator list. This results in a slow and frustrating user experience.
My feature is not to have progressive loading I want a combination of both progressive and remote pagination

I want to improve performance by:

Loading the first 10,000 records immediately and displaying them in Tabulator.
Fetching the remaining 40,000 records in the background without blocking user interactions.
Ensuring pagination works smoothly while new data is being loaded.
At the moment, Tabulator does not provide an out-of-the-box feature to achieve this behavior.

The feature I am looking for is :

Pagination on progressive loading : The initial data block size is larger than the pages size, so the grid loads data for a few pages, allowing the user to hit 'next' a few times before a server sided call is needed.

Describe the solution you'd like
I would like a built-in feature that allows:
Preloading an initial dataset (e.g., first 10,000 records).
Background loading of the remaining records in chunks (e.g., 5,000 at a time) while keeping the table responsive.
Pagination that remains functional while background data is still loading.
Automatic data merging: Newly fetched data should be seamlessly appended without requiring a full reload.
This feature would allow users to interact with the table immediately while additional data loads without blocking the UI.

Describe alternatives you've considered

Standard Remote Pagination: Works but causes delays when fetching large datasets.
Manual addData() Calls: Requires complex handling, and performance still suffers when appending large data dynamically.
Server-Side Pagination with Preloading: Possible but does not support background loading while keeping the UI interactive.

Additional context

@J-Juan-git J-Juan-git added the Suggested Feature A suggested feature that is waiting review label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Suggested Feature A suggested feature that is waiting review
Projects
None yet
Development

No branches or pull requests

1 participant