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

106
Visualizações
Manually Initiate Sort in Bootstrap 4 Datatable

I am having a problem with my bootstrap 4 datatable. The body columns are not aligning with the header until a sort is initiated. I also looked up some answers regarding this issue and most of them required that "display: block" be removed - which I did - and it did not solve my issue.

All I want to do is trigger the exact same kind of sort that occurs when I click on one of the headers, but I want to do this entirely in JavaScript.

I do not want to create a function that adjusts the rows as this did not affect the header when I implemented it.


EDIT: A similar problem with a minimal reproducible example can be found here: However, the solutions presented in this question do not solve my issue.

about 4 years ago · Juan Pablo Isaza
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