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

82
Visualizações
Is it possible to add show all pages in the rows per page?

I have these rows per page options 10,15,100 is it possible to add an option to view all the rows? And if so, how? I can't seem to find it in the documentation:

Codesandbox: https://codesandbox.io/s/muidatatables-custom-toolbar-forked-xfhb5h?file=/index.js:1372-1394

  const options = {
    search: searchBtn,
    download: downloadBtn,
    print: printBtn,
    viewColumns: viewColumnBtn,
    filter: filterBtn,
    filterType: "dropdown",
    responsive: "standard",
    tableBodyHeight,
    tableBodyMaxHeight,
    onTableChange: (action, state) => {
      console.log(action);
      console.dir(state);
    }
  };
about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

To achive that, remove tableBodyHeight,tableBodyMaxHeight, from options and add following props to your options object:

    responsive: "scrollFullHeight",
    pagination: false,
    rowsPerPageOptions: [],

So, your options object should look like this :

const options = {
    search: searchBtn,
    download: downloadBtn,
    print: printBtn,
    viewColumns: viewColumnBtn,
    filter: filterBtn,
    filterType: "dropdown",
    responsive: "scrollFullHeight",
    pagination: false,
    rowsPerPageOptions: [],

    onTableChange: (action, state) => {
      console.log(action);
      console.dir(state);
    }
  };

Here is a working example.

about 4 years ago · Santiago Trujillo 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