Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
How to locate the displayRows paragraph between the previous and next page buttons in MUI table pagination

I am using a Material-UI table pagination component in my React app and i have to place the paragraph which displays the current range of rows between the two action buttons (previous and next)


<TablePagination
      rowsPerPageOptions={[]}
      component="div"
      count={rows}
      page={page}
      onPageChange={handleChangePage}
      rowsPerPage={rowsPerPage}
      onRowsPerPageChange={handleChangeRowsPerPage}
      
      
    /> 


about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is no straightforward way of doing it.

One approach would be to manipulate some of the MUI css classes by giving your TablePagination following sx-prop:

              sx={{
                "&.MuiTableCell-root .MuiTablePagination-displayedRows": {
                  position: "absolute",
                  right: "50px",
                },
                "&.MuiTableCell-root .MuiTablePagination-actions button:first-of-type":
                  {
                    mr: "100px",
                  },
              }}

This will move the first action button to the left and the displayed rows to the right.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!