From 2e4a8c2aa06a6f975e8512ef2c72c813bb0a4814 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 30 Nov 2017 12:41:35 +0000 Subject: [PATCH] Feature - searchPane: Don't show columns if there isn't enough variation in the data to warrent it. This is done via a variance calculation with a configurable threashold --- features/searchPane/dataTables.searchPane.js | 31 ++++++++++++++++++-- features/searchPane/index.html | 4 +-- 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/features/searchPane/dataTables.searchPane.js b/features/searchPane/dataTables.searchPane.js index 00a5413..122165a 100644 --- a/features/searchPane/dataTables.searchPane.js +++ b/features/searchPane/dataTables.searchPane.js @@ -1,5 +1,4 @@ // TODO -// - Threshold option - require that there is duplicate information in a column before it is used // - Styling for selected // - Styling for container / header // - Styling for clear option @@ -124,6 +123,11 @@ var list = $('