-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[question] - Infinite Loading Server Side. #2845
Comments
Hi, @vsspt thanks for raising this. Yes, for now, we don't support the server-side infinite loading out of the box. The ticket you mentioned #1247 aims to do that but there was a delay with it. I assume that in order to implement the server-side infinite loading you need to set the total grid We haven't done a demo for it but now that there is demand I think we should spend some time to do it, @mui-org/x ? |
Good afternoon and thank you for the quick response. Could you please inform me?
Regards! |
We don't plan on working on #1247 this quarter, but we've been discussing working on the demo. It will utilize the |
Good afternoon! |
I'm closing for #1247. This issue is indeed about having pages of up to 100,000 rows, and lazy loading rows as they are visible in the viewport (inside these large pages). This is about significantly reducing the need for a footer pagination, a UX requirement that some products have. |
Order ID 💳
#28950
Duplicates
Latest version
Summary 💡
I'm using Infinite Loading, with loading being done server side.
Although the loading in chunks is being correctly executed, and the number of row reflects it, the Grid is not rendering all the rows, and just a small subset of them.
The problem in depth 🔍
I've researched Infinite Loading, having found two resources:
These resources provide two examples:
Based on these examples, i create a Sandbox that loads the data from an Backend API that provides paging:
Unfortunately, although loading in chunks is being correctly executed, and the number of row reflects it, the Grid is not rendering all the rows, and just a small subset of them.
I must be missing some small detail, but i cannot find what it is.
What am i missing?
Thank you!
Context 🔦
Replacing all the regular Paging with Infinite Loading on all grids.
Your environment 🌎
`npx @material-ui/envinfo`
The text was updated successfully, but these errors were encountered: