diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/static/new/javascript/create_datatable.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/create_datatable.js b/wqflask/wqflask/static/new/javascript/create_datatable.js index 84754da8..541dfdf5 100644 --- a/wqflask/wqflask/static/new/javascript/create_datatable.js +++ b/wqflask/wqflask/static/new/javascript/create_datatable.js @@ -70,6 +70,7 @@ create_table = function(tableId="trait_table", tableData = [], columnDefs = [], theTable = $('#' + tableId).DataTable(tableSettings); theTable.draw(); $('#' + tableId + '_container').css("width", String($('#' + tableId).width() + 17) + "px"); + theTable.columns.adjust().draw(); } } |