From 98c30fe33df1b8db76bd08476ae7deba22eee8bf Mon Sep 17 00:00:00 2001 From: neocodegs Date: Wed, 17 Dec 2014 18:07:54 +0800 Subject: [PATCH] reset min width array for each ccolumn --- jspdf.plugin.cell.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jspdf.plugin.cell.js b/jspdf.plugin.cell.js index b56a19b8a..2283532af 100644 --- a/jspdf.plugin.cell.js +++ b/jspdf.plugin.cell.js @@ -285,6 +285,9 @@ // get final column width columnWidths[header] = jsPDFAPI.arrayMax(columnMinWidths); + + //have to reset + columnMinWidths = []; } }