Link to "Weekly Results"

Message board links from 2013 as taken from the Internet Wayback Machine pages.
Post Reply

User avatar
admin
Site Admin
Posts: 159
Joined: Mon Aug 26, 2013 3:47 pm

Re: Link to "Weekly Results"

#2

Post by admin » Tue Aug 27, 2013 3:37 pm

09-09-2012 7:32 PM
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15

Weekly Results
Reply Contact
I remember this being done in the past but don't remember how you did. I would like the sort order in results to default to Score. Thanks Clarence
09-09-2012 10:24 PM In reply to
terryatphi
Top 25 Contributor
Joined on 08-27-2012
Posts 5

Re: Weekly Results
Reply Contact

If I understand your question correctly, on the summary page click on the header "Overall Picks"

Hope that was it
09-10-2012 2:37 AM In reply to
Tango
Top 10 Contributor
Joined on 08-25-2012
Posts 15

Re: Weekly Results
Reply Contact

That is what I want, both in weekly results, and Summary, but woould like it to defualt there without clicking the header.



Thanks


09-24-2012 9:53 AM In reply to
afoster
Top 10 Contributor
Joined on 09-03-2012
Posts 15

Re: Weekly Results
Reply Contact

Has no one figured out how to set the sorting of the columns to default to descending in the weeklySummary.asp file and others?
10-05-2012 4:31 PM In reply to
agustafson
Top 75 Contributor
Joined on 10-05-2012
Posts 1

Re: Weekly Results
Reply Contact
You can fire the sort for your grid on page load by adding some Javascript to the tag like this... body onload="return tableSort.sort(statisticsPicksSort);" I'm doing this for our pool and it works well. Regards.
10-05-2012 5:48 PM In reply to
afoster
Top 10 Contributor
Joined on 09-03-2012
Posts 15

Re: Weekly Results
Reply Contact

You are obviously a much better coder than most of us on this forum...where exactly do you put this code, and is there other code that comes before it or after it?

Never mind, I figured it out. Since I run a confidence point pool, I had to change the statisticsPicksSort to statisticsPointsSort and it works. Thanks for the help.
12-23-2012 6:10 PM In reply to
terryatphi
Top 25 Contributor
Joined on 08-27-2012
Posts 5

Re: Weekly Results
Reply Contact

Is there a way to have a secondary sort option? I know it defaults to the alphabetical order of the names, but I'd like it to do the overall (which I currently use via the code you mentioned) then as a secondary sort the "statisticsWonSort" column. We use the weeks won as a tiebreak.



Figured it out, for anyone wanting to do something like this, heres what I did. in the weeklysummary.asp file

ORIGINAL

var statisticsPicksSort = {
tbodyID : "statisticsBody",
theadID : "statisticsHead",
<% if ENABLE_OVERALL_WEEKLY then %>
sortColumns : [
{ column : 6, descending : true },
{ column : 0, descending : false }
],



NEW

var statisticsPicksSort = {
tbodyID : "statisticsBody",
theadID : "statisticsHead",
<% if ENABLE_OVERALL_WEEKLY then %>
sortColumns : [
{ column : 6, descending : true },
{ column : 2, descending : true },
{ column : 0, descending : false }
],



Page 1 of 1 (7 items)

Post Reply