User:Serkan/test2/known1: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
return data;}}, | return data;}}, | ||
{ "sTitle": "motif name", "mRender": function ( data, type, full ) { | { "sTitle": "motif name", "mRender": function ( data, type, full ) { | ||
return '<a href=/resource_browser/User:Serkan/test2/'+data+'>'+data+'</a>';} } | return '<a href=/resource_browser/User:Serkan/test2/'+data+'>'+data+'</a>';} }, | ||
{ | |||
"sTitle": "Grade", | |||
"sClass": "center", | |||
"fnRender": function(obj) { | |||
var sReturn = obj.aData[ obj.iDataColumn ]; | |||
if ( sReturn == "A" ) { | |||
sReturn = "<b>A</b>"; | |||
} | |||
return sReturn; | |||
} | |||
} | |||
] | ] | ||
} ); | } ); |
Revision as of 11:40, 15 April 2013