Personal tools

User:Serkan/test2/known1: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 12: Line 12:
       $('#example').dataTable( {
       $('#example').dataTable( {
         "aaData": [
         "aaData": [
     {"0":"HOCOMOCO","1":"ZFHX3_f1","2":"ZFHX3_f1"},
     {"0":"HOCOMOCO:ZFHX3_f1"},
{"0":"HOCOMOCO","1":"ARI3A_f1","2":"ZFHX3_f1"},
{"0":"HOCOMOCO:ARI3A_f1},
{"0":"HOCOMOCO","1":"HXD9_f1","2":"ZFHX3_f1"},
{"0":"HOCOMOCO:HXD9_f1"},
{"0":"HOCOMOCO","1":"PDX1_do","2":"ZFHX3_f1"},
{"0":"HOCOMOCO:PDX1_do},
{"0":"HOCOMOCO","1":"HXD4_f1","2":"ZFHX3_f1"},
{"0":"HOCOMOCO:HXD4_f1"},
{"0":"HOCOMOCO","1":"HXC8_f1","2":"ZFHX3_f1"},
{"0":"HOCOMOCO:HXC8_f1"},
{"0":"HOCOMOCO","1":"LHX3_f1","2":"ZFHX3_f1"},
{"0":"HOCOMOCO:LHX3_f1"},
{"0":"JASPAR","1":"Nobox;MA0125.1","2":"ZFHX3_f1"},
{"0":"JASPAR:Nobox;MA0125.1"},
{"0":"JASPAR","1":"Nkx2-5","2":"ZFHX3_f1"}
{"0":"JASPAR:Nkx2-5"}
         ],   
         ],   
           "aoColumns": [
           "aoColumns": [
             { "sTitle": "motif type","mRender": function ( data, type, full ) {
             { "sTitle": "motif type","fnRender": function(obj) {
                      return data;}},
                    var sReturn = obj.aData[ obj.iDataColumn ];
sReturn = "<b>sReturn.split(":")</b>";
    return sReturn;
    }
          },
             { "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>';} },

Revision as of 11:49, 15 April 2013

known motifs