From d5588a53bd2cc12d6478a96f9c65f881042da3a1 Mon Sep 17 00:00:00 2001 From: Andrew Sielen Date: Wed, 2 Jun 2021 16:36:27 -0700 Subject: [PATCH] Added resizeTableHeight The standard resizeChartHeight does not work for tables. Tables require a different selector: .table-renderer --- alamode.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/alamode.js b/alamode.js index e06afce..f9924b2 100644 --- a/alamode.js +++ b/alamode.js @@ -433,6 +433,15 @@ var alamode = { window.dispatchEvent(new Event('resize')); }, + + resizeTableHeight: function(o) { + var chart = o["chart"], + height = o["height"]; + + $("#" + chart + " .table-renderer").css("height",height) + + window.dispatchEvent(new Event('resize')); + }, retentionHeatmap: function(o) {