Difference between revisions of "Dev/Results/Alternate"
(copied from Dev/Results) |
(Why do we want to sort by awards anyway.) |
||
Line 173: | Line 173: | ||
// var awardsData = awardsReqResult[0]; | // var awardsData = awardsReqResult[0]; | ||
// var arrayOfTeamAwards = parseTeamsToAwards(awardsData, teamsData); | // var arrayOfTeamAwards = parseTeamsToAwards(awardsData, teamsData); | ||
− | var arrayOfTeamAwards = parseTeamsToAwards(data); | + | //var arrayOfTeamAwards = parseTeamsToAwards(data); |
+ | var arrayOfTeams = data; | ||
//Initialize dataTable and set up event bindings. | //Initialize dataTable and set up event bindings. | ||
Line 181: | Line 182: | ||
'processing': true, //enable "loading" message | 'processing': true, //enable "loading" message | ||
'order': [[1, 'asc']], //I think this sorts by team-name by default | 'order': [[1, 'asc']], //I think this sorts by team-name by default | ||
− | 'data': | + | 'data': arrayOfTeams, |
'columns': [ | 'columns': [ | ||
{ //Control Element Column | { //Control Element Column | ||
Line 246: | Line 247: | ||
{ //Award Column | { //Award Column | ||
'className': 'award-column', | 'className': 'award-column', | ||
+ | 'orderable': false, | ||
+ | 'defaultContent': '', | ||
'data': function(row, type, val, meta) { | 'data': function(row, type, val, meta) { | ||
− | if (type == 'sort') { | + | // if (type == 'sort') { |
− | + | // return (row.award == null ? 'zzzzz' : row.award); //No Award will sort alphabetically last | |
− | + | // //** This is the place to edit if I want to insert a canonical award ordering. | |
− | } | + | // } |
− | else { | + | // else { |
− | + | // return (row.award == null ? '' : row.award); | |
− | } | + | // } |
+ | return "<br />".join(row.awards); | ||
} | } | ||
}, | }, |
Revision as of 04:37, 28 September 2015
iGEM 2015 Results
Congratulations to all participants in the 2015 International Genetically Engineered Machine competition! Your hard work and achievements are truly worthy of celebration!
This table shows complete results of the competition, including all medals and awards. Click the "plus" button for more information about each team, and to view their achievements in their wiki, presentation, and poster.
View:
Team | Medal | Award | |
---|---|---|---|
Please enable JavaScript in your browser to view results. |