aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-06-24 21:11:59 +0000
committerzsloan2021-06-24 21:11:59 +0000
commitd99776e16fc991f75803836f6e3292cea9f6d621 (patch)
treef8929722b18e22fc35361be2bc846a138bf0df49 /wqflask
parentcaf4342abecbc4b1eb1d987fa0d758a88094db8c (diff)
downloadgenenetwork2-d99776e16fc991f75803836f6e3292cea9f6d621.tar.gz
Gave initial widths for dataset and description columns in gene global search
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/gsearch_gene.html6
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() {