diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/correlation_page.html | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html index bc0b592c..06499ec6 100644 --- a/wqflask/wqflask/templates/correlation_page.html +++ b/wqflask/wqflask/templates/correlation_page.html @@ -215,6 +215,7 @@ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/buttons/js/dataTables.buttons.min.js') }}"></script> <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/buttons/js/buttons.colVis.min.js') }}"></script> <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/plugins/sorting/natural.js') }}"></script> + <script type="text/javascript" src="https://cdn.datatables.net/scroller/2.0.2/js/dataTables.scroller.min.js"></script> <script type="text/javascript" charset="utf-8"> var table_json = {{ json_results | safe }} @@ -387,8 +388,9 @@ "autoWidth": false, "deferRender": true, "bSortClasses": false, - "paging": false, - "orderClasses": true + "scrollY": "50vh", + "scroller": true, + "scrollCollapse": true } {% elif target_dataset.type == "Publish" %} @@ -438,8 +440,9 @@ "autoWidth": false, "deferRender": true, "bSortClasses": false, - "paging": false, - "orderClasses": true, + "scrollY": "50vh", + "scroller": true, + "scrollCollapse": true } {% elif target_dataset.type == "Geno" %} table_conf = { @@ -474,7 +477,10 @@ "autoWidth": false, "bDeferRender": true, "scrollY": "800px", - "scrollCollapse": false + "scrollCollapse": false, + "scrollY": "50vh", + "scroller": true, + "scrollCollapse": true } {% endif %} |