User:Hisa/tabletest: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
"iDisplayLength": -1, | "iDisplayLength": -1, | ||
"aoColumns": cols, | "aoColumns": cols, | ||
"aaData": data | "aaData": data, | ||
"aaSorting": [[ 1, "desc" ]] | |||
Line 34: | Line 35: | ||
// hyperlink on column header | // hyperlink on column header | ||
for(i1=1;i1<$("#ffcp_tf_enrichscore tr")[0].cells.length;i1++){ | for(i1=1;i1<$("#ffcp_tf_enrichscore tr")[0].cells.length;i1++){ | ||
$("#ffcp_tf_enrichscore tr")[0].cells[i1].innerHTML = "<a href=\"FFCP_PHASE1:Hg19::"+encodeURI(collinks.shift())+"\">"+$("#ffcp_tf_enrichscore tr")[0].cells[i1].innerHTML+"</a>"; | |||
$("#ffcp_tf_enrichscore tr")[0].cells[i1].innerHTML = "<a href=\"FFCP_PHASE1:Hg19::"+encodeURI(collinks.shift())+"\">"+ | |||
} | } | ||
Revision as of 16:30, 16 May 2012