diff options
author | zsloan | 2021-06-24 21:11:59 +0000 |
---|---|---|
committer | zsloan | 2021-06-24 21:11:59 +0000 |
commit | d99776e16fc991f75803836f6e3292cea9f6d621 (patch) | |
tree | f8929722b18e22fc35361be2bc846a138bf0df49 | |
parent | caf4342abecbc4b1eb1d987fa0d758a88094db8c (diff) | |
download | genenetwork2-d99776e16fc991f75803836f6e3292cea9f6d621.tar.gz |
Gave initial widths for dataset and description columns in gene global search
-rw-r--r-- | wqflask/wqflask/templates/gsearch_gene.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/gsearch_gene.html b/wqflask/wqflask/templates/gsearch_gene.html index 3b8f9ff7..0a3ec027 100644 --- a/wqflask/wqflask/templates/gsearch_gene.html +++ b/wqflask/wqflask/templates/gsearch_gene.html @@ -132,6 +132,7 @@ 'title': "Dataset", 'type': "natural", 'targets': 6, + 'width': "320px", 'data': "dataset_fullname" }, { @@ -145,6 +146,7 @@ 'title': "Description", 'type': "natural", 'data': null, + 'width': "120px", 'targets': 8, 'render': function(data, type, row, meta) { try { @@ -260,7 +262,6 @@ "order": [[1, "asc" ]], 'sDom': "iti", "destroy": true, - "autoWidth": true, "deferRender": true, "bSortClasses": false, {% if trait_count > 20 %} @@ -301,9 +302,8 @@ {% if trait_list|length > 20 %} $('#table_container').css("width", String($('#trait_table').width() + 17) + "px"); {% endif %} + trait_table.draw(); } - - trait_table.draw(); } $('#redraw').click(function() { |