Skip to content

Commit 6032ac0

Browse files
committed
Merge pull request #4958 from DavidYCZhou/master
windows egde bug fix
2 parents cad146b + 5570b2b commit 6032ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/exporter/js/exporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@
995995
var exportData = self.getData(grid, rowTypes, colTypes);
996996
var docDefinition = self.prepareAsPdf(grid, exportColumnHeaders, exportData);
997997

998-
if (self.isIE()) {
998+
if (self.isIE() || navigator.appVersion.indexOf("Edge") !== -1) {
999999
self.downloadPDF(grid.options.exporterPdfFilename, docDefinition);
10001000
} else {
10011001
pdfMake.createPdf(docDefinition).open();

0 commit comments

Comments
 (0)