Weekly Results Display
Weekly Results Display
After One game, my Weekly Results page displays the data sorted by players alphabetically. I just realized that I could click on the Scores column and it will display in sort order by that column. However, does this page display in Score order after all the games are played for that week? If not, how do I make that happen. This is my first year working with asp files and so far I am baffled. See the attached screen shot.
- Russaholic
- Posts: 58
- Joined: Tue Oct 15, 2013 3:19 pm
- Contact:
Re: Weekly Results Display
Here is the code for setting the sort by wins
Code: Select all
<% end if %>
//]]>
// Execute the pick sort as soon as the page loads.
domUtils.onready(function()
{
tableSort.sort(resultsScoreSort);
}
);
</script>
<!-- #include file="includes/custom.asp" -->
</head>
-
- Posts: 59
- Joined: Thu Sep 05, 2013 3:21 pm
Re: Weekly Results Display
Sorry, I'm sure you posted this before, but where do you put the code for this to display?
Re: Weekly Results Display
What I did was to change line 260 in the weeklyResults.aps as follows:
In your file, it may be on a different line. If that doesn't work, the code listed by Russaholic goes right above line 260.
BTW, I changed line 220 of the weeklySummary.asp file as follows to sort the summary page high to low:
Code: Select all
<body onload="return tableSort.sort(resultsScoreSort)">
BTW, I changed line 220 of the weeklySummary.asp file as follows to sort the summary page high to low:
Code: Select all
<body onload="return tableSort.sort(statisticsPicksSort)">