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

109
Views
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
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!