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');
});