phenotype download will print 0 values, while leaving empty values empty
[sgn.git] / mason / stock / traits.mas
blob80c13dace2340cb2d0602e3d445f3dac5357d0ad
2 <%args>
3 $stock_id
4 </%args>
6 <!-- & /util/import_javascript.mas, classes => [ 'jquery', 'jquery.dataTables' ] & -->
8 <table id="traitlist_summary_data" class="display">
9 <thead>
10   <tr>
11     <th>Trait ID</th>
12     <th>Trait name</th>
13     <th>Average Value</th>
14     <th>Standard deviation</th>
15   </tr>
16 </thead>
18 </table>
20 <!-- link rel="stylesheet" type="text/css" href="/documents/inc/datatables/jquery.dataTables.css" -->
22 <script>
24   jQuery(document).ready(function () {
25   
26     jQuery('#traitlist_summary_data').DataTable( { 
27       'ajax': '/stock/'+ <% $stock_id %> + '/datatables/traitlist',
28     });
29   });
31 </script>