How can I remove the select "Rows per page"? I don't want to use it in my project...
Correct answer you should find in documentation. For the property rowsPerPageOptions
one says:
Customizes the options of the rows per page select field. If less than two options are available, no select field will be displayed.
So you have to specify rowsPerPageOptions={[]}
, that's all folks.
The documentations could be found here.
Just assign the attribute labelRowsPerPage
in TablePagination
tag to an empty string.
<TablePagination
labelRowsPerPage=''
{...otherProps}
/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With