diff options
author | Zachary Sloan | 2013-03-06 00:22:24 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-03-06 00:22:24 +0000 |
commit | 6ca1d86ff86b887fd83a8b4c3b9ad6b5dfd26182 (patch) | |
tree | 512f8cc80319db122f2ab9e2729d5b0208417fa3 | |
parent | 20068f2078eea3dbbc32b532916289188e84d6fa (diff) | |
download | genenetwork2-6ca1d86ff86b887fd83a8b4c3b9ad6b5dfd26182.tar.gz |
Improved positioning/size of copy/print/save buttons for
marker regression table
-rw-r--r-- | wqflask/wqflask/templates/marker_regression.html | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/marker_regression.html b/wqflask/wqflask/templates/marker_regression.html index f1139846..f8be464e 100644 --- a/wqflask/wqflask/templates/marker_regression.html +++ b/wqflask/wqflask/templates/marker_regression.html @@ -80,16 +80,36 @@ <script type="text/javascript" charset="utf-8"> + //$(document).ready( function () { + // $('#qtl_results').dataTable( { + // "sDom": 'T<"clear">lfrtip', + // "oTableTools": { + // "sSwfPath": "/static/packages/TableTools/media/swf/copy_csv_xls_pdf.swf" + // }, + // "iDisplayLength": 50 + // } ); + //} ); $(document).ready( function () { $('#qtl_results').dataTable( { - "sDom": 'T<"clear">lfrtip', + //"sDom": "<<'span3'l><'span3'T><'span4'f>'row-fluid'r>t<'row-fluid'<'span6'i><'span6'p>>", + "sDom": "lTftipr", "oTableTools": { + "aButtons": [ + "copy", + "print", + { + "sExtends": "collection", + "sButtonText": 'Save <span class="caret" />', + "aButtons": [ "csv", "xls", "pdf" ] + } + ], "sSwfPath": "/static/packages/TableTools/media/swf/copy_csv_xls_pdf.swf" }, - "iDisplayLength": 50 + "iDisplayLength": 50, + "bLengthChange": true } ); - } ); - + }); + //$(document).ready(function() { // $.extend( $.fn.dataTable.defaults, { // "sDom": 'T<"clear">lfrtip', |