Skip to content

Commit 6b9e6d8

Browse files
committed
Merge pull request #429 from neocodegs/patch-1
reset min width array for each column
2 parents e1c6313 + 98c30fe commit 6b9e6d8

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
@@ -296,6 +296,9 @@
296296

297297
// get final column width
298298
columnWidths[header] = jsPDFAPI.arrayMax(columnMinWidths);
299+
300+
//have to reset
301+
columnMinWidths = [];
299302
}
300303
}
301304

0 commit comments

Comments
 (0)