|
|
Line 16: |
Line 16: |
| <script type="text/javascript"> | | <script type="text/javascript"> |
|
| |
|
| var sReturn ="";
| |
| var m_data = new Array();
| |
| var sample_accession_number ="";
| |
| var library_ids = "";
| |
|
| |
| $(document).ready(function() {
| |
| library_ids = "</html>{{{library_id}}}<html>";
| |
| sample_accession_number = "</html>{{{DRA_sample_Accession}}}<html>";
| |
| var accession_numbers = "</html>{{{accession_numbers}}}<html>";
| |
| var accession_numbers_content = accession_numbers.split("!");
| |
|
| |
| if(accession_numbers_content.length>1 ){
| |
| var subnumbers = accession_numbers_content.split(";");
| |
| if(subnumbers.length>0 ){
| |
| var tmp;
| |
| }
| |
| else{
| |
| var tmp;
| |
| }
| |
| }
| |
|
| |
|
| |
| motif_table = $('#example').dataTable({
| |
| "sScrollY": "500px",
| |
| "bScrollCollapse": true,
| |
| "bPaginate": true,
| |
| "bFilter": true,
| |
| "bInfo": true,
| |
| "aaData": m_data,
| |
| "aoColumnDefs":[
| |
| {"aTargets":[0],"sTitle": "Library ID"},
| |
| {"aTargets":[1],"sTitle": "Sample Accession", "fnRender": function ( obj ) {return sample_accession_number ;}},
| |
| {"aTargets":[2],"sTitle": "Experiment Accession", "fnRender": function (obj) {return "nullll";}},
| |
| {"aTargets":[3],"sTitle": "Run Accession","fnRender": function (obj) {return "nullll2"; }}
| |
| ],
| |
| "aaSorting": [[ 0, "asc" ]],
| |
|
| |
| });
| |
| </script> | | </script> |
| </html> | | </html> |