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

112
Visualizações
Sort HTML Table by Column on Load

My page has a table (a telerik grid?) that, upon loading, I would like to sort by column, as if the one in question had been clicked by the user. I'm presuming the best way to do something like this is with telerik, javascript, or jquery, all of which I have a woeful lack of experience with, and I find myself not knowing just where to begin.

My thoughts are that the column in question will be selected by its text contents, as the only other identifier - class - is identical among them all. Then either trigger or replicate the column's onclick event. Am I going in the right direction with this? Would anyone have a suggested route to progress forward with this? I'm trying to treat this as more of a learning experience than just "give me answers!" sort of thing, which I hope is an acceptable thing to post around here.

EDIT: Besides the suggestion from @josh, below, I'm also experimenting with something like this.

jQuery(function(){
   jQuery("a:contains('submitted')").click();
});
</script>

or this

$(document).ready(function(){
    $("a:contains('submitted')").trigger('click'); 
});
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