Skip to content

Commit 98c30fe

Browse files
committed
reset min width array for each ccolumn
1 parent 38bc719 commit 98c30fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jspdf.plugin.cell.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@
285285

286286
// get final column width
287287
columnWidths[header] = jsPDFAPI.arrayMax(columnMinWidths);
288+
289+
//have to reset
290+
columnMinWidths = [];
288291
}
289292
}
290293

0 commit comments

Comments
 (0)