Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

211
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda