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

DataGrid Server-side Pagination: Support unknown rowCount #3889

Closed
2 tasks done
mattyb opened this issue Jan 28, 2022 · 1 comment
Closed
2 tasks done

DataGrid Server-side Pagination: Support unknown rowCount #3889

mattyb opened this issue Jan 28, 2022 · 1 comment
Labels
component: data grid This is the name of the generic UI component, not the React module!

Comments

@mattyb
Copy link

mattyb commented Jan 28, 2022

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

In many modern pagination schemes, the total count of pages or items is not provided by the server. For a prominent example, the Facebook Graph API provides several cursor-based pagination methods, none of which return the total number of elements or pages.

Examples 🌈

As one example, GMail search provides only a rough count on the first page of responses
image. Applications which infinitely scroll may provide no count at all.

Motivation 🔦

We would like to use DataGrid on our index pages showing a users' objects, but computing the total number of server-side elements would double our API response time.

@michaldudak michaldudak transferred this issue from mui/material-ui Feb 8, 2022
@cherniavskii cherniavskii added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 8, 2022
@cherniavskii
Copy link
Member

Hey @mattyb
Currently DataGrid doesn't support unknown rows count, see #409 for more details.


Duplicate of #409

@cherniavskii cherniavskii removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 8, 2022
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants