Personal tools

User:Hisa/tabletest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 16: Line 16:
"aaData": aDataSet,
"aaData": aDataSet,
"aoColumns": [
"aoColumns": [
{ "sTitle": "FF sample ID" },
{ "sTitle": "FF sample ID",
{ "sTitle": "Name" },
              "fnRender": function(obj) {
{ "sTitle": "Sample tissue" },
                    var id = obj.aData[ obj.iDataColumn ];
{ "sTitle": "Sample cell type", "sClass": "center" },
                    return sReturn = "<a href=\"/resource_browser/"+id+"\">"+id+"</a>";
 
                }
},
{ "sTitle": "Name","sWidth": "80%"},
]
]
} );
} );

Revision as of 17:59, 2 May 2012