From 7d4d0ab8e6a3dbf686ebd4fc098fe7096e61ec61 Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@.uni.lu> Date: Thu, 27 Sep 2018 11:18:18 +0200 Subject: [PATCH] added scroll on the X axis --- smash/web/static/js/smash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smash/web/static/js/smash.js b/smash/web/static/js/smash.js index 69a2961b..2529e33d 100644 --- a/smash/web/static/js/smash.js +++ b/smash/web/static/js/smash.js @@ -363,8 +363,8 @@ function createTable(params) { ajax: subjects_url, columns: columns, columnDefs: columnDefs, - order: [[0, 'desc']] - }); + order: [[0, 'desc']], + scrollX: true }); // Apply the search table.columns().every(function () { -- GitLab