-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[TablePagination] How to show all rows on a single page? #9136
Comments
@SergeyAlexeev What's the use case of a I'm also wondering how much we want to make the
|
It's just about flexibility. For example, a table has not so many rows. By default, a table shows 10 rows on a page. But sometimes, it's more convenient to see all rows on a page. In this case, it's possible to use the |
If you want to display all rows in one page… why are you using |
As I pointed above, I'd like to use |
I got it working with the following approach: The
The
Basicaly what I do is check the I hope someone find this usefull! |
@hielfx When you pick "All" in your application, does "Rows per page:" show "All" or is it just blank? Mine is blank with your solution. If i inspect the element it is just an empty string. |
@oakis blank, I supose it's working that way because is not a number, thus is not matching the select values |
@oakis you can do this |
much easier now with latest: |
Is there any way to configure TablePagination shows all rows on a single page?
I mean something like this:
I've already tried to use '0' as a page size, but the 'next' and 'prev' buttons work incorrectly in this case.
The text was updated successfully, but these errors were encountered: