Material-ui: [TablePagination] Is it possible to use the TablePagination component without page size selector?

Created on 14 Nov 2017  路  3Comments  路  Source: mui-org/material-ui

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

I'd like to use the TablePagination component without a page size selector. Moreover, it would great if I can use a property like showPageSizeSelector or something like this to manage page size selector visibility. I've checked this article but have not found such a functionality described.

Table enhancement

Most helpful comment

@SergeyAlexeev Sounds like a valid use case to me, I'm working on a PR. :+1:

All 3 comments

Moreover, it would great if I can use a property like showPageSizeSelector or something like this to manage page size selector visibility.

What's your use case for a hideRowsPerPage property?

Let's say, I have an app layout with a fixed height. In this case, I'd like a table has a fixed height and fixed row count too. Then, a page size selector doesn't make sense, because a table always has 20 rows per page, for example.

@SergeyAlexeev Sounds like a valid use case to me, I'm working on a PR. :+1:

Was this page helpful?
0 / 5 - 0 ratings