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

203
Views
Cómo ubicar el párrafo displayRows entre los botones de página anterior y siguiente en la paginación de la tabla MUI

Estoy usando un componente de paginación de tabla Material-UI en mi aplicación React y tengo que colocar el párrafo que muestra el rango actual de filas entre los dos botones de acción (anterior y siguiente)

 <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

No hay una forma sencilla de hacerlo.

Un enfoque sería manipular algunas de las clases css de MUI dándole a su TablePagination el siguiente sx-prop:

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

Esto moverá el primer botón de acción a la izquierda y las filas mostradas a la derecha.

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!